From fb8e9e545d3148bdaadaaafe789d16369ee78668 Mon Sep 17 00:00:00 2001 From: rainlizard <15337628+rainlizard@users.noreply.github.com> Date: Mon, 25 Mar 2024 16:09:58 +1100 Subject: [PATCH] Show the map browser after selecting the exe --- Scenes/ChooseDkExe.gd | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Scenes/ChooseDkExe.gd b/Scenes/ChooseDkExe.gd index 6ccc4a76..d69d30c8 100644 --- a/Scenes/ChooseDkExe.gd +++ b/Scenes/ChooseDkExe.gd @@ -3,6 +3,7 @@ onready var oTextureCache = Nodelist.list["oTextureCache"] onready var oGame = Nodelist.list["oGame"] onready var oMessage = Nodelist.list["oMessage"] onready var oKeeperFXDetection = Nodelist.list["oKeeperFXDetection"] +onready var oMapBrowser = Nodelist.list["oMapBrowser"] func _on_ChooseDkExe_file_selected(path): Settings.set_setting("executable_path", path) # Do this first so running_keeperfx() works @@ -12,3 +13,5 @@ func _on_ChooseDkExe_file_selected(path): var err = oGame.test_write_permissions() if err == OK: oTextureCache.start() # Run this again, important for first-time users, because the path has now been set. + + oMapBrowser.popup()