summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-04-08 22:52:16 -0300
committerJesusaves <cpntb1@ymail.com>2022-04-08 22:52:16 -0300
commitb309d6e3b682142e76ddcb635fe107f737c8edd0 (patch)
tree1be712597baae0f7c61fb20149289abaee3775f4
parentdd323a5f02eb2351be512a6723716756127a8016 (diff)
downloadrenpy-b309d6e3b682142e76ddcb635fe107f737c8edd0.tar.gz
renpy-b309d6e3b682142e76ddcb635fe107f737c8edd0.tar.bz2
renpy-b309d6e3b682142e76ddcb635fe107f737c8edd0.tar.xz
renpy-b309d6e3b682142e76ddcb635fe107f737c8edd0.zip
Fix some possibly broken code
-rw-r--r--game/client.rpy3
1 files changed, 2 insertions, 1 deletions
diff --git a/game/client.rpy b/game/client.rpy
index 0a41e32..4c80ad7 100644
--- a/game/client.rpy
+++ b/game/client.rpy
@@ -176,7 +176,8 @@ init 2 python:
## Theirs
try:
installdir=get_path("manaplus")
- fname=handle_client(launch=True, download=False).split("/").pop()
+ if (persistent.evol2cli != "builtin"): # FIXME Simplify
+ fname=handle_client(launch=True, download=False).split("/").pop()
r=requests.get(persistent.host+"/%s.md5" % fname, timeout=10.0)
md5up=r.text.replace("\n", "")
except: