player: Don't send teleport greeting if in ghost mode.
This commit is contained in:
parent
3811586eca
commit
03bec28361
1 changed files with 5 additions and 0 deletions
|
@ -418,6 +418,11 @@ class DistributedPlayer(DistributedAvatar.DistributedAvatar, PlayerBase.PlayerBa
|
|||
return
|
||||
|
||||
def b_teleportGreeting(self, avId):
|
||||
if hasattr(self, 'ghostMode') and self.ghostMode:
|
||||
# If we're in ghost mode, we don't want to greet the person we're
|
||||
# teleporting to. On another note, why the hell is Toontown-specific
|
||||
# stuff in here? :S ...
|
||||
return
|
||||
self.d_teleportGreeting(avId)
|
||||
self.teleportGreeting(avId)
|
||||
|
||||
|
|
Loading…
Reference in a new issue