about summary refs log tree commit diff stats
path: root/apworld/client/main.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/main.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/main.gd')
-rw-r--r--apworld/client/main.gd1
1 files changed, 1 insertions, 0 deletions
diff --git a/apworld/client/main.gd b/apworld/client/main.gd index 9d66358..8425d8c 100644 --- a/apworld/client/main.gd +++ b/apworld/client/main.gd
@@ -137,6 +137,7 @@ func _connect_pressed():
137func _back_pressed(): 137func _back_pressed():
138 var ap = global.get_node("Archipelago") 138 var ap = global.get_node("Archipelago")
139 ap.disconnect_from_ap() 139 ap.disconnect_from_ap()
140 ap.client.sendQuit()
140 141
141 get_tree().quit() 142 get_tree().quit()
142 143