def handleAvatarLeave(self, avatar, reason): DistributedBattleZoneAI.handleAvatarLeave(self, avatar, reason) if hasattr(self, 'watchingAvatarIds') and len( self.watchingAvatarIds) == 0: self.resetEverything() self.bldg.elevator.b_setState('opening')
def handleAvatarLeave(self, avatar, reason): DistributedBattleZoneAI.handleAvatarLeave(self, avatar, reason) if hasattr(self, 'watchingAvatarIds') and len( self.watchingAvatarIds) == 0: self.requestDelete() self.air.shutdown()