Refacto open scene UI

This commit is contained in:
VAILLANT Jeremy
2021-05-08 15:54:58 +02:00
parent dae99aa9e3
commit bcd947f334
7 changed files with 44 additions and 40 deletions
-3
View File
@@ -1,7 +1,4 @@
extends Control
func _on_Return_pressed():
get_tree().change_scene("res://scenes/main.tscn")
func _on_WarCraft_pressed():
get_tree().change_scene("res://scenes/levels/WarCraft.tscn")