interests: More fixes

This commit is contained in:
John Cote 2021-06-29 00:17:23 -04:00
parent 18474edf5a
commit b65658e8a4
2 changed files with 5 additions and 0 deletions

View file

@ -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)

View file

@ -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