Add useless variables & add id scene
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user