summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-12-03 18:52:13 -0300
committerJesusaves <cpntb1@ymail.com>2022-12-03 18:52:13 -0300
commitc43a52efc4d13c25918530cfd18b2f0730c5252f (patch)
tree7ee4b7279f4c2d9322bf9b0c7aac8fd404442d08
parentddba0c17b630c597988fe0b0bdba6b2a368970f7 (diff)
downloadrenpy-c43a52efc4d13c25918530cfd18b2f0730c5252f.tar.gz
renpy-c43a52efc4d13c25918530cfd18b2f0730c5252f.tar.bz2
renpy-c43a52efc4d13c25918530cfd18b2f0730c5252f.tar.xz
renpy-c43a52efc4d13c25918530cfd18b2f0730c5252f.zip
Fix Windows with WildX's help
-rw-r--r--game/client.rpy6
1 files changed, 3 insertions, 3 deletions
diff --git a/game/client.rpy b/game/client.rpy
index 85eff39..5c2352f 100644
--- a/game/client.rpy
+++ b/game/client.rpy
@@ -39,9 +39,9 @@ init 2 python:
paten="/".join(CMD.split("/")[:-1])
paten='%s' % paten.replace("\\ ", " ")
OPT+=' -C "%s/Config" -L "%s/Local"' % (paten, paten)
- elif renpy.windows and False:
- paten="\\".join(CMD.replace('/', '\\').split("\\")[:-1])
- OPT+=' -C "%s/Config" -L "%s/Local"' % (paten, paten)
+ elif renpy.windows:
+ paten="\\".join(CMD.replace('/', '\\').split("\\")[:-2])
+ OPT+=' -C "%s\\Config" -L "%s\\Local"' % (paten, paten)
## Steam Deck must be fullscreen
if renpy.variant("steam_deck"):