diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-09-27 11:49:37 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-09-27 11:49:37 -0400 |
commit | 2125ccf715544d3703cadf064a85331de8b053e4 (patch) | |
tree | f5c784727d3ba02e4ee73f6b66d3d9f27a304e2e /apworld/client/client.gd | |
parent | 86a5188548f80eab6bce3cb6686c49f8448683db (diff) | |
download | lingo2-archipelago-2125ccf715544d3703cadf064a85331de8b053e4.tar.gz lingo2-archipelago-2125ccf715544d3703cadf064a85331de8b053e4.tar.bz2 lingo2-archipelago-2125ccf715544d3703cadf064a85331de8b053e4.zip |
Automatically close client when clicking Quit
Diffstat (limited to 'apworld/client/client.gd')
-rw-r--r-- | apworld/client/client.gd | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apworld/client/client.gd b/apworld/client/client.gd index 05b2b6c..286ad4b 100644 --- a/apworld/client/client.gd +++ b/apworld/client/client.gd | |||
@@ -227,6 +227,10 @@ func scoutLocations(loc_ids): | |||
227 | sendMessage([{"cmd": "LocationScouts", "locations": loc_ids}]) | 227 | sendMessage([{"cmd": "LocationScouts", "locations": loc_ids}]) |
228 | 228 | ||
229 | 229 | ||
230 | func sendQuit(): | ||
231 | sendMessage([{"cmd": "Quit"}]) | ||
232 | |||
233 | |||
230 | func hasItem(item_id): | 234 | func hasItem(item_id): |
231 | return _received_items.has(item_id) | 235 | return _received_items.has(item_id) |
232 | 236 | ||