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.
|
||||
> SWITCH_SCENE [MAIN_MENU]
|
||||
|
|
3
game.gd
3
game.gd
|
@ -99,7 +99,8 @@ func switch_scene_to(scene_path):
|
|||
yield(transition, "on_transition_time")
|
||||
SceneSwitcher.goto_scene(scene_path)
|
||||
yield(transition, "on_transition_completed")
|
||||
SceneSwitcher.current_scene.on_scene_start()
|
||||
if SceneSwitcher.current_scene.has_method("on_scene_start"):
|
||||
SceneSwitcher.current_scene.on_scene_start()
|
||||
|
||||
func _ready():
|
||||
pass
|
Loading…
Reference in New Issue