mirror of
https://github.com/evennia/evennia.git
synced 2026-03-30 12:37:16 +02:00
Update rpsystem.py
This commit is contained in:
parent
180b3f222f
commit
2047c64e9d
1 changed files with 1 additions and 1 deletions
|
|
@ -526,7 +526,7 @@ def send_emote(sender, receivers, emote, anonymous_add="first", **kwargs):
|
|||
# if anonymous_add is passed as a kwarg, collect and remove it from kwargs
|
||||
if "anonymous_add" in kwargs:
|
||||
anonymous_add = kwargs.pop("anonymous_add")
|
||||
self_refs = (f"{skey}{ref}" for ref in ('t','^','v','~',''))
|
||||
self_refs = [f"{skey}{ref}" for ref in ('t','^','v','~','')]
|
||||
if anonymous_add and not any(1 for tag in obj_mapping if tag in self_refs):
|
||||
# no self-reference in the emote - add to the end
|
||||
if anonymous_add == "first":
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue