From 39c7308503aa2d924cf9a8121141dcccd44014c5 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 29 Dec 2020 21:53:19 -0300 Subject: Sort quests by their ID as well --- 00_init.rpy | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3-70-g09d2