free timer after use
This commit is contained in:
parent
4a7d0656e5
commit
42c27a5e5f
1 changed files with 2 additions and 1 deletions
|
@ -50,12 +50,13 @@ func start():
|
||||||
start_timer_UI.update_timer(String(n))
|
start_timer_UI.update_timer(String(n))
|
||||||
yield(t, "timeout")
|
yield(t, "timeout")
|
||||||
start_timer_UI.update_timer("GO !")
|
start_timer_UI.update_timer("GO !")
|
||||||
|
yield(t, "timeout")
|
||||||
|
t.queue_free()
|
||||||
foreground.start()
|
foreground.start()
|
||||||
player.start(game_mode)
|
player.start(game_mode)
|
||||||
spawner.start()
|
spawner.start()
|
||||||
instructionsUI._init()
|
instructionsUI._init()
|
||||||
scoreUI.start(game_mode)
|
scoreUI.start(game_mode)
|
||||||
yield(t, "timeout")
|
|
||||||
start_timer_UI.hide()
|
start_timer_UI.hide()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue