summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--game/01_init.rpy2
-rw-r--r--game/quest.rpy2
2 files changed, 3 insertions, 1 deletions
diff --git a/game/01_init.rpy b/game/01_init.rpy
index 4d91263..d9e2168 100644
--- a/game/01_init.rpy
+++ b/game/01_init.rpy
@@ -47,6 +47,8 @@ init -3 python:
persistent.serverlist.append(["Localhost", "localhost", 61000])
if (persistent.allfiles is None):
persistent.allfiles=[]
+ if (persistent.summon is None):
+ persistent.summon=ifte(config.developer, 15, 0)
allfiles=[]
HOST=str(persistent.host)
PORT=str(persistent.port)
diff --git a/game/quest.rpy b/game/quest.rpy
index dbdc1ef..b150777 100644
--- a/game/quest.rpy
+++ b/game/quest.rpy
@@ -39,7 +39,7 @@ init python:
def loadsummon():
global Battle
# FIXME: Retrieve summon ID, etc
- raw=send_packet("summon", "[%d]" % ifte(debug, 15, 0))
+ raw=send_packet("summon", "[%d]" % persistent.summon)
bt=json_decode(raw)
if (bt == ERR_JSONDECODER):