From 770e4438dbb624f8bd636283e81221349ac9f0e3 Mon Sep 17 00:00:00 2001 From: delizin Date: Fri, 31 Jan 2014 13:29:33 -0500 Subject: [PATCH] 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]) --- src/commands/default/player.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/commands/default/player.py b/src/commands/default/player.py index cd1650158..a5eec0d31 100644 --- a/src/commands/default/player.py +++ b/src/commands/default/player.py @@ -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):