toon: that's a real neat typo there
This commit is contained in:
parent
b2e2c0f68b
commit
e5a29cebdd
1 changed files with 5 additions and 4 deletions
|
@ -256,12 +256,13 @@ class DistributedToonAI(DistributedPlayerAI.DistributedPlayerAI, DistributedSmoo
|
||||||
self.sendUpdate('setLastHood', [hood])
|
self.sendUpdate('setLastHood', [hood])
|
||||||
self.setDefaultZone(hood)
|
self.setDefaultZone(hood)
|
||||||
self.sendUpdate('setDefaultZone', [hood])
|
self.sendUpdate('setDefaultZone', [hood])
|
||||||
|
|
||||||
canonicalZoneId = ZoneUtil.getCanonicalZoneId(zoneId)
|
canonicalZoneId = ZoneUtil.getCanonicalZoneId(zoneId)
|
||||||
canonicalHood = ZoneUtil.getHoodId(canonicalZoneId)
|
canonicalHood = ZoneUtil.getHoodId(canonicalZoneId)
|
||||||
hoodsVisted = list(self.getHoodsVisited())
|
hoodsVisited = list(self.getHoodsVisited())
|
||||||
if canonicalHood not in hoodsVisted:
|
if canonicalHood not in hoodsVisited:
|
||||||
hoodsVisted.append(canonicalHood)
|
hoodsVisited.append(canonicalHood)
|
||||||
self.b_setHoodsVisited(hoodsVisted)
|
self.b_setHoodsVisited(hoodsVisited)
|
||||||
|
|
||||||
if canonicalZoneId == ToontownGlobals.GoofySpeedway:
|
if canonicalZoneId == ToontownGlobals.GoofySpeedway:
|
||||||
teleportAccess = self.getTeleportAccess()
|
teleportAccess = self.getTeleportAccess()
|
||||||
|
|
Loading…
Reference in a new issue