summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-12-29 21:53:19 -0300
committerJesusaves <cpntb1@ymail.com>2020-12-29 21:53:19 -0300
commit39c7308503aa2d924cf9a8121141dcccd44014c5 (patch)
tree4acbfe869ac2ad751c1f6507b1a918d4f2da28d2
parent271c9bcc54ef3f7baf257c4be79b97a14037ceab (diff)
downloadsdk-39c7308503aa2d924cf9a8121141dcccd44014c5.tar.gz
sdk-39c7308503aa2d924cf9a8121141dcccd44014c5.tar.bz2
sdk-39c7308503aa2d924cf9a8121141dcccd44014c5.tar.xz
sdk-39c7308503aa2d924cf9a8121141dcccd44014c5.zip
Sort quests by their ID as well
-rw-r--r--00_init.rpy1
1 files changed, 1 insertions, 0 deletions
diff --git a/00_init.rpy b/00_init.rpy
index 3d00438..843be94 100644
--- a/00_init.rpy
+++ b/00_init.rpy
@@ -170,6 +170,7 @@ init -3 python:
f=open(get_path_if_exists("quests.json"), "r")
alltquests=json.load(f)
f.close()
+ alltquests["Main"].sort(key=lambda x: x["quest_id"])
allquests=alltquests["Main"]
# Load story data