summaryrefslogtreecommitdiff
path: root/game
diff options
context:
space:
mode:
Diffstat (limited to 'game')
-rw-r--r--game/script.rpy3
1 files changed, 2 insertions, 1 deletions
diff --git a/game/script.rpy b/game/script.rpy
index 4e26c42..ad0ced0 100644
--- a/game/script.rpy
+++ b/game/script.rpy
@@ -211,7 +211,8 @@ label quit:
# If needed, logout
try:
token=Player["token"]
- send_packet_now("logout")
+ renpy.invoke_in_thread(send_packet_now, "logout")
+ sdelay(0.5)
del Player
except:
pass