feat: added loadout options to the main menu

This commit is contained in:
DottsGit
2026-06-06 13:05:50 -04:00
parent 11adbc339a
commit 2aa7ff0337
2 changed files with 15 additions and 1 deletions
+4
View File
@@ -652,6 +652,10 @@ func _return_to_main_menu() -> void:
get_tree().change_scene_to_file("res://ui/main_menu/main_menu.tscn")
func _show_main_menu() -> void:
if get_tree().current_scene and get_tree().current_scene.name == "MainMenu":
visible = false
return
main_vbox.visible = true
loadout_editor.visible = false
settings_editor.visible = false