toon: Fix NPC positions including Flippy toon hall

This commit is contained in:
Drew Rogers 2022-09-01 09:59:04 -05:00 committed by GitHub
parent f1ffad24e1
commit 61a044e2e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)