Revert curly braces fix - Griatch did it better
This commit is contained in:
parent
dd840ba05b
commit
ad8d105795
1 changed files with 1 additions and 2 deletions
|
|
@ -796,8 +796,7 @@ class CmdEmote(RPCommand): # replaces the main emote
|
||||||
self.caller.msg("What do you want to do?")
|
self.caller.msg("What do you want to do?")
|
||||||
else:
|
else:
|
||||||
# we also include ourselves here.
|
# we also include ourselves here.
|
||||||
emote = self.args.replace('{', '{{') # Escape open curly brace in later formatting.
|
emote = self.args
|
||||||
emote = emote.replace('}', '}}') # Also escape close curly brace.
|
|
||||||
targets = self.caller.location.contents
|
targets = self.caller.location.contents
|
||||||
if not emote.endswith((".", "?", "!")): # If emote is not punctuated,
|
if not emote.endswith((".", "?", "!")): # If emote is not punctuated,
|
||||||
emote = "%s." % emote # add a full-stop for good measure.
|
emote = "%s." % emote # add a full-stop for good measure.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue