mirror of
https://github.com/evennia/evennia.git
synced 2026-04-06 07:57:16 +02:00
Made objects auto-unsubscribe from tickerhandler when deleted (resolves #515). Fixed a bug that made typeclass loading mechanism not report errors as verbosely as it could.
This commit is contained in:
parent
ce2d11ad12
commit
57144b2c21
3 changed files with 48 additions and 17 deletions
|
|
@ -145,7 +145,7 @@ def create_object(typeclass=None, key=None, location=None,
|
|||
# gave us a default
|
||||
SharedMemoryModel.delete(new_db_object)
|
||||
if report_to:
|
||||
_GA(report_to, "msg")("Error creating %s (%s):\n%s" % (new_db_object.key, typeclass,
|
||||
_GA(report_to, "msg")("Error creating %s (%s).\n%s" % (new_db_object.key, typeclass,
|
||||
_GA(new_db_object, "typeclass_last_errmsg")))
|
||||
return None
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue