diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-08-18 00:41:47 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-08-18 00:41:47 -0300 |
commit | a878b43f3c44a4b604c291688b7d108e790370c6 (patch) | |
tree | b2cd132f2554cf1aaa24c5b73477573c536bd50f /game/02_init.rpy | |
parent | 5977a645fb300ca3df3e091a947647e51f9eab3e (diff) | |
download | client-2.1.8.18.tar.gz client-2.1.8.18.tar.bz2 client-2.1.8.18.tar.xz client-2.1.8.18.zip |
Version 2.1.8.18v2.1.8.18
Detect outdated client/server and report
Diffstat (limited to 'game/02_init.rpy')
-rw-r--r-- | game/02_init.rpy | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/game/02_init.rpy b/game/02_init.rpy index 3791413..9ee3749 100644 --- a/game/02_init.rpy +++ b/game/02_init.rpy @@ -55,10 +55,8 @@ init -1 python: if raw in ERRNO: return raw - try: + if (type(raw) is int): return int(raw) - except: - pass # Maybe base 64 try: @@ -104,6 +102,8 @@ init -1 python: return ERR_JSONDECODER if (Player == ERR_LOGIN_DEFAULT): return ERR_LOGIN_DEFAULT + if (Player == ERR_OUTDATED): + return ERR_OUTDATED try: Player["inv"]=dlist() |