summaryrefslogtreecommitdiff
path: root/game/script.rpy
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-12-17 23:54:36 -0300
committerJesusaves <cpntb1@ymail.com>2020-12-17 23:54:36 -0300
commit423e3032f662e9e7062c2e8220540fddadb475aa (patch)
treef9956d1c47bbb3f91b7506e61eb20fd4d54f5646 /game/script.rpy
parent11f2291cefe90f5c43765754d7cdffa247cc31f9 (diff)
downloadclient-423e3032f662e9e7062c2e8220540fddadb475aa.tar.gz
client-423e3032f662e9e7062c2e8220540fddadb475aa.tar.bz2
client-423e3032f662e9e7062c2e8220540fddadb475aa.tar.xz
client-423e3032f662e9e7062c2e8220540fddadb475aa.zip
Make SERVNOTICE even more annoying, but it autocloses after a while.
(No special codes like newlines and such are allowed) Fix an interpreter crash of trying to execute onerror after program had a regular and clean exit.
Diffstat (limited to 'game/script.rpy')
-rw-r--r--game/script.rpy3
1 files changed, 2 insertions, 1 deletions
diff --git a/game/script.rpy b/game/script.rpy
index e910d89..5752f44 100644
--- a/game/script.rpy
+++ b/game/script.rpy
@@ -288,9 +288,10 @@ label quit:
except:
pass
+ # FIXME
# If needed, close the socket
try:
- ws.close()
+ ws.close(reason="Quit")
except:
pass