From 2366ea4a9cde6707bb84a46da52ce852e1693655 Mon Sep 17 00:00:00 2001 From: fariparedes Date: Fri, 26 Mar 2021 21:42:15 -0400 Subject: [PATCH] Proposed fix --- evennia/objects/objects.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/evennia/objects/objects.py b/evennia/objects/objects.py index 746d02a47a..660dc4de01 100644 --- a/evennia/objects/objects.py +++ b/evennia/objects/objects.py @@ -628,7 +628,7 @@ class DefaultObject(ObjectDB, metaclass=TypeclassBase): logger.log_trace() kwargs["options"] = options try: - if not self.at_msg_receive(text=text, **kwargs): + if not self.at_msg_receive(text=text, from_obj=from_obj, **kwargs): # if at_msg_receive returns false, we abort message to this object return except Exception: @@ -1443,7 +1443,7 @@ class DefaultObject(ObjectDB, metaclass=TypeclassBase): } ) - location.msg_contents(string, exclude=(self,), mapping=mapping) + location.msg_contents(string, exclude=(self,), from_obj=self, mapping=mapping) def announce_move_to(self, source_location, msg=None, mapping=None, **kwargs): """ @@ -1505,7 +1505,7 @@ class DefaultObject(ObjectDB, metaclass=TypeclassBase): } ) - destination.msg_contents(string, exclude=(self,), mapping=mapping) + destination.msg_contents(string, exclude=(self,), from_obj=self, mapping=mapping) def at_after_move(self, source_location, **kwargs): """