From 43ecb0a9f2d3fa0893d5c1aad53f3e6fd9eb8560 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 cbd21ed79b..b9922e9d46 100644 --- a/evennia/objects/objects.py +++ b/evennia/objects/objects.py @@ -674,7 +674,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: @@ -1519,7 +1519,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): """ @@ -1581,7 +1581,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): """