From 6f365ae16abaaf7af2402eac6e29a85b2bc1f396 Mon Sep 17 00:00:00 2001 From: alestiago Date: Wed, 30 Mar 2022 12:53:50 +0100 Subject: [PATCH] fix: removed checks --- lib/game/components/flutter_forest.dart | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/game/components/flutter_forest.dart b/lib/game/components/flutter_forest.dart index 3d643a36..267ea4c1 100644 --- a/lib/game/components/flutter_forest.dart +++ b/lib/game/components/flutter_forest.dart @@ -108,16 +108,12 @@ abstract class DashNestBumper extends BodyComponent /// Activates the [DashNestBumper]. void activate() { - if (active) return; - _active = true; _spriteComponent.sprite = _activeSprite; } /// Deactivates the [DashNestBumper]. void deactivate() { - if (!active) return; - _active = false; _spriteComponent.sprite = _inactiveSprite; }