From 61a044e2e0d20eacc9bf959255657a2e18c22d3a Mon Sep 17 00:00:00 2001 From: Drew Rogers Date: Thu, 1 Sep 2022 09:59:04 -0500 Subject: [PATCH] toon: Fix NPC positions including Flippy toon hall --- toontown/toon/NPCToons.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toontown/toon/NPCToons.py b/toontown/toon/NPCToons.py index eb53801..5b9030f 100644 --- a/toontown/toon/NPCToons.py +++ b/toontown/toon/NPCToons.py @@ -155,7 +155,7 @@ def createNPC(air, npcId, desc, zoneId, posIndex = 0, questCallback = None): def createNpcsInZone(air, zoneId): npcs = [] canonicalZoneId = ZoneUtil.getCanonicalZoneId(zoneId) - npcIdList = zone2NpcDict.get(canonicalZoneId, []) + npcIdList = sorted(zone2NpcDict.get(canonicalZoneId, [])) for i in range(len(npcIdList)): npcId = npcIdList[i] npcDesc = NPCToonDict.get(npcId)