mirror of
https://github.com/evennia/evennia.git
synced 2026-04-04 23:17:17 +02:00
Some cleanup code fixes.
This commit is contained in:
parent
ec54de4797
commit
792b3c9282
6 changed files with 10 additions and 67 deletions
|
|
@ -780,6 +780,10 @@ class ObjectDB(TypedObject):
|
|||
_GA(self, "clear_exits")()
|
||||
# Clear out any non-exit objects located within the object
|
||||
_GA(self, "clear_contents")()
|
||||
_GA(self, "attributes").clear()
|
||||
_GA(self, "nicks").clear()
|
||||
_GA(self, "aliases").clear()
|
||||
|
||||
# Perform the deletion of the object
|
||||
super(ObjectDB, self).delete()
|
||||
return True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue