From 5a555c5c07bdddc5b106e377ef38ca7852e7de70 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 23 Mar 2024 22:38:23 -0400 Subject: Transition into using level1_stable --- Archipelago/settings_screen.gd | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Archipelago/settings_screen.gd') diff --git a/Archipelago/settings_screen.gd b/Archipelago/settings_screen.gd index 2cabe09..7f50f51 100644 --- a/Archipelago/settings_screen.gd +++ b/Archipelago/settings_screen.gd @@ -104,8 +104,13 @@ func connectionSuccessful(): # Switch to LL1 Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED) - global.map = "level1" global.save_file = apclient.getSaveFileName() + + if Directory.new().file_exists("user://level1/%s.save" % global.save_file): + global.map = "level1" + else: + global.map = "level1_stable" + var _discard = get_tree().change_scene("res://scenes/load_screen.tscn") -- cgit 1.4.1