summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-06-09 08:06:07 -0300
committerJesusaves <cpntb1@ymail.com>2021-06-09 08:06:07 -0300
commit85dcb396680a240ec1d9bf7af163b6007dcccaf5 (patch)
tree04fa801ce78bd95e3319e3131f985c04a9bf3cbf
parent8b5a72d81033091e16d5bfac049038aad3003cb7 (diff)
downloadrenpy-85dcb396680a240ec1d9bf7af163b6007dcccaf5.tar.gz
renpy-85dcb396680a240ec1d9bf7af163b6007dcccaf5.tar.bz2
renpy-85dcb396680a240ec1d9bf7af163b6007dcccaf5.tar.xz
renpy-85dcb396680a240ec1d9bf7af163b6007dcccaf5.zip
Actually, make sure _return is at least an integer.
-rw-r--r--game/renpy.rpy1
1 files changed, 1 insertions, 0 deletions
diff --git a/game/renpy.rpy b/game/renpy.rpy
index c6a906d..2caa262 100644
--- a/game/renpy.rpy
+++ b/game/renpy.rpy
@@ -183,6 +183,7 @@ label load_world:
python:
try:
_return=dl_search_idx(persistent.serverlist, "UUID", MLP_DEST)
+ _return=int(_return)
except:
traceback.print_exc()
_return=-1