main
Just Dzhi 2023-10-02 22:09:30 +04:00
parent 9ce8c66680
commit 59b53c3200
1 changed files with 2 additions and 1 deletions

View File

@ -62,7 +62,8 @@ func _physics_process(delta):
if mob_timers[i] >= mob_threshold[i]: if mob_timers[i] >= mob_threshold[i]:
mob_timers[i] = .0 mob_timers[i] = .0
var mob_instance = mob_preloads[i].instance() 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(): func select_card():
if selected_card != null: if selected_card != null: