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:
parent
4a86382a0c
commit
770e4438db
1 changed files with 0 additions and 3 deletions
|
|
@ -289,9 +289,6 @@ class CmdOOC(MuxPlayerCommand):
|
||||||
return
|
return
|
||||||
|
|
||||||
player.db._last_puppet = old_char
|
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
|
# disconnect
|
||||||
if player.unpuppet_object(sessid):
|
if player.unpuppet_object(sessid):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue