about summary refs log tree commit diff stats
path: root/apworld/client/client.gd
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2025-09-27 11:49:37 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2025-09-27 11:49:37 -0400
commit2125ccf715544d3703cadf064a85331de8b053e4 (patch)
treef5c784727d3ba02e4ee73f6b66d3d9f27a304e2e /apworld/client/client.gd
parent86a5188548f80eab6bce3cb6686c49f8448683db (diff)
downloadlingo2-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.gd4
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
230func sendQuit():
231 sendMessage([{"cmd": "Quit"}])
232
233
230func hasItem(item_id): 234func hasItem(item_id):
231 return _received_items.has(item_id) 235 return _received_items.has(item_id)
232 236