battle: fix another interest issue
This commit is contained in:
parent
851d4c02ea
commit
83cb21d6eb
1 changed files with 9 additions and 1 deletions
|
@ -96,7 +96,15 @@ class BattlePlace(Place.Place):
|
|||
def doEnterZone(self, newZoneId):
|
||||
if newZoneId != self.zoneId:
|
||||
if newZoneId != None:
|
||||
base.cr.sendSetZoneMsg(newZoneId)
|
||||
if base.cr.astronSupport:
|
||||
if hasattr(self, 'zoneVisDict'):
|
||||
visList = self.zoneVisDict[newZoneId]
|
||||
else:
|
||||
visList = base.cr.playGame.getPlace().loader.zoneVisDict[newZoneId]
|
||||
|
||||
base.cr.sendSetZoneMsg(newZoneId, visList)
|
||||
else:
|
||||
base.cr.sendSetZoneMsg(newZoneId)
|
||||
self.notify.debug('Entering Zone %d' % newZoneId)
|
||||
self.zoneId = newZoneId
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue