diff options
Diffstat (limited to '00_init.rpy')
-rw-r--r-- | 00_init.rpy | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/00_init.rpy b/00_init.rpy index 6ab73e3..3d00438 100644 --- a/00_init.rpy +++ b/00_init.rpy @@ -144,9 +144,6 @@ init -3 python: stdout("dlsearch: r is None") return r - def getuid(elem): - return elem["unit_id"] - def GAME_LOADER(): global allunitsbase, allunits, allquests, allstory, allworld, alltaverns global alltquests, tr_uptodate, tr_memcheck @@ -162,7 +159,7 @@ init -3 python: allunits={} for j in allunitsbase: allunits[j["unit_id"]]=j - allunitsbase.sort(key=getuid) + allunitsbase.sort(key=lambda x: x["unit_id"]) # Load summons data f=open(get_path_if_exists("summons.json"), "r") |