toon: Fix NPC positions including Flippy toon hall
This commit is contained in:
parent
f1ffad24e1
commit
61a044e2e0
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ def createNPC(air, npcId, desc, zoneId, posIndex = 0, questCallback = None):
|
||||||
def createNpcsInZone(air, zoneId):
|
def createNpcsInZone(air, zoneId):
|
||||||
npcs = []
|
npcs = []
|
||||||
canonicalZoneId = ZoneUtil.getCanonicalZoneId(zoneId)
|
canonicalZoneId = ZoneUtil.getCanonicalZoneId(zoneId)
|
||||||
npcIdList = zone2NpcDict.get(canonicalZoneId, [])
|
npcIdList = sorted(zone2NpcDict.get(canonicalZoneId, []))
|
||||||
for i in range(len(npcIdList)):
|
for i in range(len(npcIdList)):
|
||||||
npcId = npcIdList[i]
|
npcId = npcIdList[i]
|
||||||
npcDesc = NPCToonDict.get(npcId)
|
npcDesc = NPCToonDict.get(npcId)
|
||||||
|
|
Loading…
Reference in a new issue