about summary refs log tree commit diff stats
path: root/Archipelago
diff options
context:
space:
mode:
Diffstat (limited to 'Archipelago')
-rw-r--r--Archipelago/settings_screen.gd7
1 files changed, 6 insertions, 1 deletions
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():
104 104
105 # Switch to LL1 105 # Switch to LL1
106 Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED) 106 Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED)
107 global.map = "level1"
108 global.save_file = apclient.getSaveFileName() 107 global.save_file = apclient.getSaveFileName()
108
109 if Directory.new().file_exists("user://level1/%s.save" % global.save_file):
110 global.map = "level1"
111 else:
112 global.map = "level1_stable"
113
109 var _discard = get_tree().change_scene("res://scenes/load_screen.tscn") 114 var _discard = get_tree().change_scene("res://scenes/load_screen.tscn")
110 115
111 116