diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-04-13 22:17:11 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-04-13 22:17:11 -0400 |
commit | a80fefd0e99f5c0e0322c8338bc2c8c37429c9d9 (patch) | |
tree | b44c755a2fda2f80699f267d62403fdb89802508 /Archipelago/settings_screen.gd | |
parent | acb63625f904da7faee23d5b8fcc4ac96fd41f00 (diff) | |
download | lingo-archipelago-a80fefd0e99f5c0e0322c8338bc2c8c37429c9d9.tar.gz lingo-archipelago-a80fefd0e99f5c0e0322c8338bc2c8c37429c9d9.tar.bz2 lingo-archipelago-a80fefd0e99f5c0e0322c8338bc2c8c37429c9d9.zip |
Save file name is now generated from AP data
The name used on the new game screen no longer matters.
Diffstat (limited to 'Archipelago/settings_screen.gd')
-rw-r--r-- | Archipelago/settings_screen.gd | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Archipelago/settings_screen.gd b/Archipelago/settings_screen.gd index 9624693..06bebd1 100644 --- a/Archipelago/settings_screen.gd +++ b/Archipelago/settings_screen.gd | |||
@@ -48,7 +48,10 @@ func installScriptExtension(childScriptPath: String): | |||
48 | 48 | ||
49 | 49 | ||
50 | func connectionSuccessful(): | 50 | func connectionSuccessful(): |
51 | var apclient = global.get_node("Archipelago") | ||
52 | |||
51 | # Switch to LL1 | 53 | # Switch to LL1 |
52 | Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED) | 54 | Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED) |
53 | global.map = "level1" | 55 | global.map = "level1" |
56 | global.save_file = apclient.getSaveFileName() | ||
54 | var _discard = get_tree().change_scene("res://scenes/load_screen.tscn") | 57 | var _discard = get_tree().change_scene("res://scenes/load_screen.tscn") |