diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2025-01-08 14:51:10 +0100 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2025-01-08 14:51:10 +0100 |
commit | d989c1c51bf4d4fbb301493e73bc77e1873143b2 (patch) | |
tree | 758363b217350ae32ce1beeee7d4a4014817a37e /game/prefab | |
parent | 18a8813645187102fc6261b8d5be1a41c8f0dae4 (diff) |
working zapper, missilies with scheduler
Diffstat (limited to 'game/prefab')
-rw-r--r-- | game/prefab/ZapperPoolScript.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/game/prefab/ZapperPoolScript.cpp b/game/prefab/ZapperPoolScript.cpp index ac6ce96..b9b2a76 100644 --- a/game/prefab/ZapperPoolScript.cpp +++ b/game/prefab/ZapperPoolScript.cpp @@ -30,10 +30,6 @@ void ZapperPoolScript::fixed_update(crepe::duration_t) { if (zapper.transform.position.x < threshold) zapper.set_active(false); } - - if (i-- > 0) return; - i = 200; - queue_event<CreateZapperEvent>(); } void ZapperPoolScript::spawn_random() { |