Another piece of duck tape for party teleportation

This commit is contained in:
Anthony Castelli 2014-02-04 14:22:58 -08:00
parent 4a37103156
commit bc41da9b60
2 changed files with 2 additions and 2 deletions

View file

@ -493,7 +493,7 @@ class PlayGame(StateData.StateData):
return
def goToParty(self, ownerId, partyId, zoneId):
if ownerId == 0 and partyId == 0 and zoneId == 0:
if ownerId == 0 or partyId == 0 or zoneId == 0:
self.doneStatus['where'] = 'playground'
else:
self.doneStatus['where'] = 'party'

View file

@ -154,7 +154,7 @@ class DistributedPartyGate(DistributedObject.DistributedObject):
'how': 'teleportIn',
'hoodId': ToontownGlobals.PartyHood,
'zoneId': zoneId,
'shardId': shardId,
'shardId': None,
'avId': hostId})
return