Update player.py

Removed the following lines from the @OOC command to prevent the player is leaving the game message from appearing twice:

save location as if we were disconnecting from the game entirely.
        if old_char.location:
            old_char.location.msg_contents("%s has left the game." % old_char.key, exclude=[old_char])
This commit is contained in:
delizin 2014-01-31 13:29:33 -05:00
parent 4a86382a0c
commit 770e4438db

View file

@ -289,9 +289,6 @@ class CmdOOC(MuxPlayerCommand):
return
player.db._last_puppet = old_char
# save location as if we were disconnecting from the game entirely.
if old_char.location:
old_char.location.msg_contents("%s has left the game." % old_char.key, exclude=[old_char])
# disconnect
if player.unpuppet_object(sessid):