def disable(self): DistributedCartesianGrid.disable(self) if hasattr(base, 'localAvatar') and base.localAvatar is not None: self.removeObjectFromGrid(base.localAvatar) self.destroyMinimap() self.shipBarrierNP.removeNode() self.ignore('enter' + self.cName)
def disable(self): self.stopCustomEffects() self.builder.pauseSFX() self.unloadConnectors() if self.fadeInTrack: self.fadeInTrack.pause() self.fadeInTrack = None self.ignoreAll() DistributedGameArea.disable(self) DistributedCartesianGrid.disable(self) del self.closeSfx
def disable(self): DistributedCartesianGrid.disable(self) self.destroyMinimap() self.shipBarrierNP.removeNode() self.ignore('enter' + self.cName)