Merge branch 'develop' into openotp

This commit is contained in:
Open Toontown 2022-09-19 17:45:13 -04:00
commit 056bf5e7ba
1 changed files with 1 additions and 1 deletions

View File

@ -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)