about summary refs log tree commit diff stats
path: root/Archipelago/location.gd
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-08-22 12:20:28 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-08-22 12:20:28 -0400
commita2138459de0ef60fa446be9b70310b11aaf78610 (patch)
tree85ad61c1d167c08ca588a248e4b07c8cb7d37cb9 /Archipelago/location.gd
parenta07d74766538f9adbbdb0387d8c5fb395cdbd1bf (diff)
downloadlingo-archipelago-a2138459de0ef60fa446be9b70310b11aaf78610.tar.gz
lingo-archipelago-a2138459de0ef60fa446be9b70310b11aaf78610.tar.bz2
lingo-archipelago-a2138459de0ef60fa446be9b70310b11aaf78610.zip
Only necessary checks are sent out now
i.e. the checks for every individual panel are not sent out if you are not playing panelsanity.
Diffstat (limited to 'Archipelago/location.gd')
-rw-r--r--Archipelago/location.gd4
1 files changed, 3 insertions, 1 deletions
diff --git a/Archipelago/location.gd b/Archipelago/location.gd index b85b5c4..7e76427 100644 --- a/Archipelago/location.gd +++ b/Archipelago/location.gd
@@ -4,6 +4,7 @@ var ap_name = ""
4var ap_id = 0 4var ap_id = 0
5var total = 0 5var total = 0
6var solved = 0 6var solved = 0
7var classification = 0
7var ran = false 8var ran = false
8 9
9 10
@@ -14,4 +15,5 @@ func handle_correct():
14 ran = true 15 ran = true
15 16
16 var apclient = global.get_node("Archipelago") 17 var apclient = global.get_node("Archipelago")
17 apclient.sendLocation(ap_id) 18 if classification & apclient._location_classification_bit:
19 apclient.sendLocation(ap_id)