From 83cb21d6eb4b07c96c8fe82e82d7a8e935f9a644 Mon Sep 17 00:00:00 2001 From: John Cote Date: Thu, 9 Jan 2020 14:19:35 -0500 Subject: [PATCH] battle: fix another interest issue --- toontown/battle/BattlePlace.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/toontown/battle/BattlePlace.py b/toontown/battle/BattlePlace.py index 1064da2..21a0803 100644 --- a/toontown/battle/BattlePlace.py +++ b/toontown/battle/BattlePlace.py @@ -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