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)