diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-05-08 16:27:33 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-05-08 16:27:33 -0300 |
commit | 399a6b72e81a91b8a377917f91fa92d59025507d (patch) | |
tree | 5c50dd3a5cedce5eadf6c7d1fb03ce35e4ad2354 | |
parent | fd986bd1b312a07898f3dbd217825351a0c6f881 (diff) | |
download | renpy-399a6b72e81a91b8a377917f91fa92d59025507d.tar.gz renpy-399a6b72e81a91b8a377917f91fa92d59025507d.tar.bz2 renpy-399a6b72e81a91b8a377917f91fa92d59025507d.tar.xz renpy-399a6b72e81a91b8a377917f91fa92d59025507d.zip |
Impose localhost Vault if development mode is enabled.
Handled at level -3, so should not affect external dev cheats
-rw-r--r-- | game/core.rpy | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/game/core.rpy b/game/core.rpy index 11cca64..18d08e9 100644 --- a/game/core.rpy +++ b/game/core.rpy @@ -35,11 +35,14 @@ init -3 python: if (persistent.client is None): persistent.client = "manaplus" if (persistent.iconify is None): - persistent.iconify = False + persistent.iconify = True ############################################################################# - #, "themanaworld.org", "germantmw.de", "moubootaurlegends.org"] - VAULT_HOST = "http://localhost:13370" + # ["themanaworld.org", "germantmw.de", "moubootaurlegends.org"] + if config.developer: + VAULT_HOST = "http://localhost:13370" + else: + VAULT_HOST = "http://api.tmw2.org:13370" ############################################################################# # Encodes something to md5 |