diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-11-17 10:47:24 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-11-17 10:47:24 -0500 |
commit | 9c263e6a40fbd9a19eb7bf1f2490e5b8b99ccd0c (patch) | |
tree | b4c3b68046792fe558e06da8df03fbf210b73a88 /Archipelago/location.gd | |
parent | d4384d35031657294ba9fa296facaa6e33ac2d55 (diff) | |
download | lingo-archipelago-9c263e6a40fbd9a19eb7bf1f2490e5b8b99ccd0c.tar.gz lingo-archipelago-9c263e6a40fbd9a19eb7bf1f2490e5b8b99ccd0c.tar.bz2 lingo-archipelago-9c263e6a40fbd9a19eb7bf1f2490e5b8b99ccd0c.zip |
Don't create nodes for locations outside of classification
Diffstat (limited to 'Archipelago/location.gd')
-rw-r--r-- | Archipelago/location.gd | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Archipelago/location.gd b/Archipelago/location.gd index 7e76427..b85b5c4 100644 --- a/Archipelago/location.gd +++ b/Archipelago/location.gd | |||
@@ -4,7 +4,6 @@ var ap_name = "" | |||
4 | var ap_id = 0 | 4 | var ap_id = 0 |
5 | var total = 0 | 5 | var total = 0 |
6 | var solved = 0 | 6 | var solved = 0 |
7 | var classification = 0 | ||
8 | var ran = false | 7 | var ran = false |
9 | 8 | ||
10 | 9 | ||
@@ -15,5 +14,4 @@ func handle_correct(): | |||
15 | ran = true | 14 | ran = true |
16 | 15 | ||
17 | var apclient = global.get_node("Archipelago") | 16 | var apclient = global.get_node("Archipelago") |
18 | if classification & apclient._location_classification_bit: | 17 | apclient.sendLocation(ap_id) |
19 | apclient.sendLocation(ap_id) | ||