From e4dbacca7a444a7575776ab59eb13c531f01b5aa Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 23 Dec 2020 13:59:04 -0300 Subject: Fix bugs, so the basic SDK work again --- 00_init.rpy | 5 +++-- 1 file 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 -- cgit v1.2.3-70-g09d2