feature/templating-level (#74)
Co-authored-by: VAILLANT Jeremy <vaillant.jeremy@dev-crea.com> Reviewed-on: Athena/game-source#74 Co-authored-by: darknight <vaillant.jeremy@dev-crea.com> Co-committed-by: darknight <vaillant.jeremy@dev-crea.com>
This commit is contained in:
+6
-1
@@ -10,7 +10,7 @@ func _loading_is_finished(_anim_name):
|
||||
print("[Evenst#_loading_is_finished]")
|
||||
Global.loaded = true
|
||||
|
||||
# events for load scene level
|
||||
# Events for load scene level
|
||||
####
|
||||
func _on_warcraft_pressed():
|
||||
Global.current_scene_int = 0
|
||||
@@ -26,3 +26,8 @@ func _on_reset_level(level, node, index, parent):
|
||||
parent.configure_reset(level, node, index)
|
||||
parent.configure_counter(level, node)
|
||||
Global.current_scene_int = null
|
||||
|
||||
# Events for back to main scene
|
||||
####
|
||||
func _on_main_scene_pressed():
|
||||
Global.goto_scene("res://scenes/Main.tscn")
|
||||
|
||||
Reference in New Issue
Block a user