mirror of
https://github.com/evennia/evennia.git
synced 2026-04-04 23:17:17 +02:00
Cleanups and bug fixes. Fixed the @unlink command and also made it overally more stable. Resolves issue 161. Added more string conversion routines to handle non-ascii variables being stored in an Attribute. Resolves issue 160.
This commit is contained in:
parent
14db4bea4d
commit
7d30b337d9
27 changed files with 873 additions and 1048 deletions
|
|
@ -250,7 +250,7 @@ class PlayerDB(TypedObject):
|
|||
from_obj.at_msg_send(outgoing_string, to_obj=self, data=data)
|
||||
except Exception:
|
||||
pass
|
||||
if self.character:
|
||||
if object.__getattribute__(self, "character"):
|
||||
if self.character.at_msg_receive(outgoing_string, from_obj=from_obj, data=data):
|
||||
for session in object.__getattribute__(self, 'sessions'):
|
||||
session.msg(outgoing_string, data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue