From 2125ccf715544d3703cadf064a85331de8b053e4 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 27 Sep 2025 11:49:37 -0400 Subject: Automatically close client when clicking Quit --- apworld/client/client.gd | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apworld/client/client.gd') 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): sendMessage([{"cmd": "LocationScouts", "locations": loc_ids}]) +func sendQuit(): + sendMessage([{"cmd": "Quit"}]) + + func hasItem(item_id): return _received_items.has(item_id) -- cgit 1.4.1