Merge pull request #62 from RegDogg/patch-1
toon: Fix NPC positions including Flippy Toon Hall
This commit is contained in:
commit
0c15708eb0
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