mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-23 03:35:12 -06:00
Elevator fixes
This commit is contained in:
parent
84dc9372cf
commit
584eafbd7d
3 changed files with 3 additions and 3 deletions
|
@ -115,7 +115,6 @@ class DistributedElevatorAI(DistributedObjectAI.DistributedObjectAI):
|
|||
|
||||
def clearEmptyNow(self, seatIndex):
|
||||
self.sendUpdate('emptySlot' + str(seatIndex), [0,
|
||||
0,
|
||||
globalClockDelta.getRealNetworkTime(),
|
||||
0])
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ class DistributedElevatorExtAI(DistributedElevatorAI.DistributedElevatorAI):
|
|||
pass
|
||||
else:
|
||||
self.clearFullNow(seatIndex)
|
||||
self.s
|
||||
self.resetCountdown()
|
||||
timeToSend = self.countdownTime
|
||||
self.sendUpdate('emptySlot' + str(seatIndex), [avId,
|
||||
globalClockDelta.getRealNetworkTime(),
|
||||
|
|
|
@ -61,7 +61,8 @@ class DistributedElevatorIntAI(DistributedElevatorAI.DistributedElevatorAI):
|
|||
if seatIndex == None:
|
||||
pass
|
||||
self.clearFullNow(seatIndex)
|
||||
self.sendUpdate('emptySlot' + str(seatIndex), [avId, 0,
|
||||
self.resetCountdown()
|
||||
self.sendUpdate('emptySlot' + str(seatIndex), [avId,
|
||||
globalClockDelta.getRealNetworkTime(), self.countdownTime])
|
||||
taskMgr.doMethodLater(TOON_EXIT_ELEVATOR_TIME, self.clearEmptyNow, self.uniqueName('clearEmpty-%s' % seatIndex), extraArgs = (seatIndex,))
|
||||
|
||||
|
|
Loading…
Reference in a new issue