From 59b53c32009d131b6ab92b6fd896b8cb872c3971 Mon Sep 17 00:00:00 2001 From: Just Dzhi Date: Mon, 2 Oct 2023 22:09:30 +0400 Subject: [PATCH] ebal rot --- src/scenes/game/game.gd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/scenes/game/game.gd b/src/scenes/game/game.gd index 34f10f1..5198e44 100644 --- a/src/scenes/game/game.gd +++ b/src/scenes/game/game.gd @@ -62,7 +62,8 @@ func _physics_process(delta): if mob_timers[i] >= mob_threshold[i]: mob_timers[i] = .0 var mob_instance = mob_preloads[i].instance() - $View/Enemies.add_child(mob_instance) + if Global.playing: + $View/Enemies.add_child(mob_instance) func select_card(): if selected_card != null: