about summary refs log tree commit diff stats
path: root/Archipelago/settings_screen.gd
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-03-23 22:38:23 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2024-03-23 22:38:23 -0400
commit5a555c5c07bdddc5b106e377ef38ca7852e7de70 (patch)
tree21727806513a09fce95ca7f3f63b9b53fe9a392e /Archipelago/settings_screen.gd
parent46280f772defd53d1c78b756be9c68e5c3ba0b75 (diff)
downloadlingo-archipelago-5a555c5c07bdddc5b106e377ef38ca7852e7de70.tar.gz
lingo-archipelago-5a555c5c07bdddc5b106e377ef38ca7852e7de70.tar.bz2
lingo-archipelago-5a555c5c07bdddc5b106e377ef38ca7852e7de70.zip
Transition into using level1_stable
Diffstat (limited to 'Archipelago/settings_screen.gd')
-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