Some cleanup code fixes.

This commit is contained in:
Griatch 2014-04-20 18:11:41 +02:00
parent ec54de4797
commit 792b3c9282
6 changed files with 10 additions and 67 deletions

View file

@ -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