def handleChildLeave(self, childObj, zoneId): DistributedGameArea.handleChildLeave(self, childObj, zoneId) DistributedCartesianGrid.handleChildLeave(self, childObj, zoneId) if childObj.isLocal(): localAvatar.guiMgr.clearMinimap(self.minimap) self.destroyMinimap() self.fadeOutSoundAndMusic()
def handleChildLeave(self, childObj, zoneId): if self.minimap and hasattr(childObj, 'getMinimapObject'): if childObj.getMinimapObject(): self.minimap.removeObject(childObj.getMinimapObject()) DistributedCartesianGrid.handleChildLeave(self, childObj, zoneId)