def setLocation(self, parentId, zoneId): DistributedSimpleShip.setLocation(self, parentId, zoneId) if self._respawnLocation is not None and self._respawnLocation == (parentId, zoneId): self.updateCurrentZone() self._respawnLocation = None if not self._respawnResponseDelayedCall: self._respawnResponseDelayedCall = FrameDelayedCall('PlayerShip-respawnLocation-gridInterestComplete', Functor(base.cr.setAllInterestsCompleteCallback, self._sendRespawnLocationResponse))
def setLocation(self, parentId, zoneId): DistributedSimpleShip.setLocation(self, parentId, zoneId) if self._respawnLocation is not None and self._respawnLocation == (parentId, zoneId): self._respawnLocation = None if not self._respawnResponseDelayedCall: self._respawnResponseDelayedCall = FrameDelayedCall('PlayerShip-respawnLocation-gridInterestComplete', Functor(base.cr.setAllInterestsCompleteCallback, self._sendRespawnLocationResponse))