summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-11-02 19:44:38 -0300
committerJesusaves <cpntb1@ymail.com>2022-11-02 19:44:38 -0300
commit51ba06d1391f6b8cc93f7badf5cc8e511298e4c8 (patch)
tree5d8d1a4e1373862f4cb801fa55a82576221d1227
parente87dd769c80af46726e16a27cd65b9a312413d47 (diff)
downloadrenpy-51ba06d1391f6b8cc93f7badf5cc8e511298e4c8.tar.gz
renpy-51ba06d1391f6b8cc93f7badf5cc8e511298e4c8.tar.bz2
renpy-51ba06d1391f6b8cc93f7badf5cc8e511298e4c8.tar.xz
renpy-51ba06d1391f6b8cc93f7badf5cc8e511298e4c8.zip
Fix a couple minor bugs
-rw-r--r--game/client.rpy5
-rw-r--r--game/core.rpy4
2 files changed, 6 insertions, 3 deletions
diff --git a/game/client.rpy b/game/client.rpy
index 30665ed..38d8e6e 100644
--- a/game/client.rpy
+++ b/game/client.rpy
@@ -200,7 +200,10 @@ init 2 python:
## Ours
try:
- md5us=md5sum(fname) #(installdir+"/%s" % fname)
+ if renpy.windows:
+ md5us=md5sum(fname)
+ else:
+ md5us=md5sum(installdir+"/%s" % fname)
if md5up != md5us:
stdout("MD5 Mismatch: hashes differ", True)
stdout("Ours: %s" % md5us, True)
diff --git a/game/core.rpy b/game/core.rpy
index 5f5c292..8dbd79e 100644
--- a/game/core.rpy
+++ b/game/core.rpy
@@ -29,12 +29,12 @@ init -3 python:
# This is Python 3.x
execute=subprocess.run
LEGACY = False
- print("Python 3.x detected! Version is %d. Compatibility mode enabled!" % PYTHON_VERSION)
+ print("Python 3.x detected! Version is %d." % PYTHON_VERSION)
else:
# This is Python 2.7
execute=subprocess.call
LEGACY = True
- print("Python 2.7 detected! Setting legacy mode... (ver: %d)" % PYTHON_VERSION)
+ print("Python 2.7 detected! Compatibility mode enabled! (ver: %d)" % PYTHON_VERSION)
#############################################################################
# Functions