diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-05-08 18:44:40 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-05-08 18:44:40 -0300 |
commit | 377867104beb2d82e33ebd4bb663f9d5190912ce (patch) | |
tree | bc4284f2dfb9c5c68be9ec823848d620a7eb34dc | |
parent | c0c0a4cd148737b64680375345512799812cf687 (diff) | |
download | renpy-377867104beb2d82e33ebd4bb663f9d5190912ce.tar.gz renpy-377867104beb2d82e33ebd4bb663f9d5190912ce.tar.bz2 renpy-377867104beb2d82e33ebd4bb663f9d5190912ce.tar.xz renpy-377867104beb2d82e33ebd4bb663f9d5190912ce.zip |
Show for a bit longer eventual errors
-rw-r--r-- | game/client.rpy | 5 | ||||
-rw-r--r-- | game/update.rpy | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/game/client.rpy b/game/client.rpy index 4d10873..13714b4 100644 --- a/game/client.rpy +++ b/game/client.rpy @@ -17,7 +17,8 @@ init 2 python: elif (CLIENT_NAME == "mana"): f=cli_mana(launch) else: - stdout("ERROR, unrecognized client: %s" % CLIENT_NAME) + status_update("ERROR, unrecognized client: %s" % CLIENT_NAME) + return f init 1 python: @@ -26,7 +27,7 @@ init 1 python: status_update("Downloading %s on RAM..." % fname, 62) r=requests.get(persistent.host+"/%s" % fname, timeout=60.0) if (r.status_code != 200): - stdout("Failure retrieving M+: ERROR %d" % r.status_code) + status_update("Failure retrieving M+: ERROR %d" % r.status_code) return False status_update("Saving %s..." %fname, 64) diff --git a/game/update.rpy b/game/update.rpy index 4fc2d33..8410cc6 100644 --- a/game/update.rpy +++ b/game/update.rpy @@ -146,8 +146,9 @@ init python: ## Oh sh-- if not r: time.sleep(0.4) - status_update("{color=#F00}ERROR: \"%s\" client is NOT supported!{/color}" % persistent.client, 70) responsive = False + time.sleep(2.6) + status_update("{color=#F00}ERROR: \"%s\" client is NOT supported!{/color}" % persistent.client, 70) return |