go back to menu for now
This commit is contained in:
parent
8ec1ec6ac2
commit
c64a7aee5d
|
@ -1 +1,2 @@
|
||||||
<BRAIN> ... Looking around, it definitely wasn't time to get up just yet.
|
<BRAIN> ... Looking around, it definitely wasn't time to get up just yet.
|
||||||
|
> SWITCH_SCENE [MAIN_MENU]
|
||||||
|
|
1
game.gd
1
game.gd
|
@ -99,6 +99,7 @@ func switch_scene_to(scene_path):
|
||||||
yield(transition, "on_transition_time")
|
yield(transition, "on_transition_time")
|
||||||
SceneSwitcher.goto_scene(scene_path)
|
SceneSwitcher.goto_scene(scene_path)
|
||||||
yield(transition, "on_transition_completed")
|
yield(transition, "on_transition_completed")
|
||||||
|
if SceneSwitcher.current_scene.has_method("on_scene_start"):
|
||||||
SceneSwitcher.current_scene.on_scene_start()
|
SceneSwitcher.current_scene.on_scene_start()
|
||||||
|
|
||||||
func _ready():
|
func _ready():
|
||||||
|
|
Loading…
Reference in New Issue