Add useless variables & add id scene

This commit is contained in:
VAILLANT Jeremy
2021-05-14 18:46:57 +02:00
parent 32473b4e70
commit 9eddf8b812
2 changed files with 3 additions and 6 deletions
+2 -1
View File
@@ -14,9 +14,11 @@ func _on_Lightmap_pressed():
Global.goto_scene("res://developers/aurelien/CheckLightmap.tscn")
func _on_warcraft_pressed():
Global.current_scene_int = 0
Global.goto_scene("res://scenes/levels/warcraft/WarCraft.tscn")
func _on_develop_pressed():
Global.current_scene_int = 1
Global.goto_scene("res://developers/aurelien/CheckLightmap.tscn")
## PRIVATE
@@ -77,4 +79,3 @@ func _configure_button(thumb, _resource, name):
$games/Container/HBoxContainer/VBoxContainer.add_child(thumbnail)
thumbnail.set_normal_texture(load(thumb))
thumbnail.connect("pressed", self, "_on_"+name.to_lower()+"_pressed")