aboutsummaryrefslogtreecommitdiff
path: root/game/prefab
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2025-01-08 14:51:10 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2025-01-08 14:51:10 +0100
commitd989c1c51bf4d4fbb301493e73bc77e1873143b2 (patch)
tree758363b217350ae32ce1beeee7d4a4014817a37e /game/prefab
parent18a8813645187102fc6261b8d5be1a41c8f0dae4 (diff)
working zapper, missilies with scheduler
Diffstat (limited to 'game/prefab')
-rw-r--r--game/prefab/ZapperPoolScript.cpp4
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() {