mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
fix msg_contents funcparsing
This commit is contained in:
parent
5423ee238c
commit
fabe3ba2a9
1 changed files with 2 additions and 2 deletions
|
|
@ -763,7 +763,7 @@ class DefaultObject(ObjectDB, metaclass=TypeclassBase):
|
|||
for receiver in contents:
|
||||
|
||||
# actor-stance replacements
|
||||
inmessage = _MSG_CONTENTS_PARSER.parse(
|
||||
outmessage = _MSG_CONTENTS_PARSER.parse(
|
||||
inmessage,
|
||||
raise_errors=raise_funcparse_errors,
|
||||
return_string=True,
|
||||
|
|
@ -773,7 +773,7 @@ class DefaultObject(ObjectDB, metaclass=TypeclassBase):
|
|||
)
|
||||
|
||||
# director-stance replacements
|
||||
outmessage = inmessage.format_map(
|
||||
outmessage = outmessage.format_map(
|
||||
{
|
||||
key: obj.get_display_name(looker=receiver)
|
||||
if hasattr(obj, "get_display_name")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue