summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-12-23 13:59:04 -0300
committerJesusaves <cpntb1@ymail.com>2020-12-23 13:59:04 -0300
commite4dbacca7a444a7575776ab59eb13c531f01b5aa (patch)
tree0f6be9756943ae384e3bdf1886b68d948d4d67ac
parent3b79dc162b6604bd4d1facbc5015443d0f0d7016 (diff)
downloadsdk-e4dbacca7a444a7575776ab59eb13c531f01b5aa.tar.gz
sdk-e4dbacca7a444a7575776ab59eb13c531f01b5aa.tar.bz2
sdk-e4dbacca7a444a7575776ab59eb13c531f01b5aa.tar.xz
sdk-e4dbacca7a444a7575776ab59eb13c531f01b5aa.zip
Fix bugs, so the basic SDK work again
-rw-r--r--00_init.rpy5
1 files changed, 3 insertions, 2 deletions
diff --git a/00_init.rpy b/00_init.rpy
index 8b74c56..7d843dc 100644
--- a/00_init.rpy
+++ b/00_init.rpy
@@ -167,8 +167,9 @@ init -3 python:
# Load quest data
f=open(get_path_if_exists("quests.json"), "r")
- allquests=json.load(f)
+ alltquests=json.load(f)
f.close()
+ allquests=alltquests["Main"]
# Load story data
f=open(get_path_if_exists("story.json"), "r")
@@ -187,7 +188,7 @@ init -3 python:
stdout("[OK] Game data loaded to memory")
tr_memcheck=True
- return tr_load
+ return True
def card_composite(cid, path):
# We need to try to get rarity