diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-04-13 21:23:41 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-04-13 21:23:41 -0400 |
commit | 380a2b49eb2c2687a6fda1099d8b9d1be92c0e32 (patch) | |
tree | bdb54386b7803897991c1b72d1a0eecbe77d826b /Archipelago/load.gd | |
parent | 617e31fce21eb18d1ffccdc9c377d25535157351 (diff) | |
download | lingo-archipelago-380a2b49eb2c2687a6fda1099d8b9d1be92c0e32.tar.gz lingo-archipelago-380a2b49eb2c2687a6fda1099d8b9d1be92c0e32.tar.bz2 lingo-archipelago-380a2b49eb2c2687a6fda1099d8b9d1be92c0e32.zip |
Location checks are held while the map is loading
The map load sends out a lot of checks at once if a file is being loaded, so we hold them until the map finishes loading and then send them out together.
Diffstat (limited to 'Archipelago/load.gd')
-rw-r--r-- | Archipelago/load.gd | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Archipelago/load.gd b/Archipelago/load.gd index b0ccafc..cb592ff 100644 --- a/Archipelago/load.gd +++ b/Archipelago/load.gd | |||
@@ -28,9 +28,10 @@ func _load(): | |||
28 | "answer_correct", location, "handle_correct" | 28 | "answer_correct", location, "handle_correct" |
29 | ) | 29 | ) |
30 | 30 | ||
31 | # Process any items received while the map was loading. | ||
32 | apclient.mapFinishedLoading() | ||
33 | |||
34 | # Proceed with the rest of the load. | 31 | # Proceed with the rest of the load. |
35 | global._print("Hooked Load End") | 32 | global._print("Hooked Load End") |
36 | ._load() | 33 | ._load() |
34 | |||
35 | # Process any items received while the map was loading, and send the checks | ||
36 | # from the save load. | ||
37 | apclient.mapFinishedLoading() | ||