mirror of
https://github.com/evennia/evennia.git
synced 2026-03-24 16:56:32 +01:00
Fixed pose command to echo in room only if a pose is actually struck
This commit is contained in:
parent
2eb5c4fc8c
commit
f09bfdf1d6
1 changed files with 2 additions and 1 deletions
|
|
@ -497,9 +497,10 @@ class CmdPose(MuxCommand):
|
|||
"Hook function"
|
||||
if not self.args:
|
||||
msg = "Do what?"
|
||||
self.caller.msg(msg)
|
||||
else:
|
||||
msg = "%s%s" % (self.caller.name, self.args)
|
||||
self.caller.location.msg_contents(msg)
|
||||
self.caller.location.msg_contents(msg)
|
||||
|
||||
class CmdEncoding(MuxCommand):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue