summaryrefslogtreecommitdiff
path: root/game/script.rpy
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-12-16 16:31:30 -0300
committerJesusaves <cpntb1@ymail.com>2020-12-16 16:31:30 -0300
commit76ddabf046d50f8010ea41be1bd4d1e0ec75b289 (patch)
tree56a6d499c32ccc418b1a70c37d1061a8e8110b1a /game/script.rpy
parent2c9a0e2b6afb2642e548bed3d7143018c3378488 (diff)
downloadclient-76ddabf046d50f8010ea41be1bd4d1e0ec75b289.tar.gz
client-76ddabf046d50f8010ea41be1bd4d1e0ec75b289.tar.bz2
client-76ddabf046d50f8010ea41be1bd4d1e0ec75b289.tar.xz
client-76ddabf046d50f8010ea41be1bd4d1e0ec75b289.zip
Hypothesis on what to do...
The error happens if networking is dead (Error 111)
Diffstat (limited to 'game/script.rpy')
-rw-r--r--game/script.rpy5
1 files changed, 5 insertions, 0 deletions
diff --git a/game/script.rpy b/game/script.rpy
index 7638ac8..50e4bad 100644
--- a/game/script.rpy
+++ b/game/script.rpy
@@ -66,9 +66,14 @@ init python:
while True:
renpy.call_screen("msgbox",
"An unrecoverable error happened.\nPress OK to return to main menu screen.")
+ #raise KeyboardException(str(err))
+ #raise err
# FIXME: Not working, and the loop also does not work
+ # Maybe because it causes an Exception?
+ # I wonder if I can/should run this in a non-daemon thread?
#renpy.quit(relaunch=True, status=1)
sdelay(1.0)
+ return 1
# Inform you are now ingame
label start: