interests: More fixes
This commit is contained in:
parent
18474edf5a
commit
b65658e8a4
2 changed files with 5 additions and 0 deletions
|
@ -102,6 +102,9 @@ class BattlePlace(Place.Place):
|
|||
else:
|
||||
visList = base.cr.playGame.getPlace().loader.zoneVisDict[newZoneId]
|
||||
|
||||
if newZoneId not in visList:
|
||||
visList.append(newZoneId)
|
||||
|
||||
base.cr.sendSetZoneMsg(newZoneId, visList)
|
||||
else:
|
||||
base.cr.sendSetZoneMsg(newZoneId)
|
||||
|
|
|
@ -360,6 +360,8 @@ class Street(BattlePlace.BattlePlace):
|
|||
else:
|
||||
visZones = [self.loader.node2zone[x] for x in self.loader.nodeDict[newZoneId]]
|
||||
visZones.append(ZoneUtil.getBranchZone(newZoneId))
|
||||
if newZoneId not in visZones:
|
||||
visZones.append(newZoneId)
|
||||
base.cr.sendSetZoneMsg(newZoneId, visZones)
|
||||
self.notify.debug('Entering Zone %d' % newZoneId)
|
||||
self.zoneId = newZoneId
|
||||
|
|
Loading…
Reference in a new issue