From b1b1912e8cbd6691bf86b06210d0972d0e1552bb Mon Sep 17 00:00:00 2001 From: Griatch Date: Thu, 6 Aug 2015 07:56:18 +0200 Subject: [PATCH] Removed a lingering refefence to old get_all_attributes method. Resolves #780. --- evennia/commands/default/building.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/evennia/commands/default/building.py b/evennia/commands/default/building.py index a61f8a7caf..2d1d139d79 100644 --- a/evennia/commands/default/building.py +++ b/evennia/commands/default/building.py @@ -1655,8 +1655,7 @@ class CmdWipe(ObjManipCommand): return if not attrs: # wipe everything - for attr in obj.get_all_attributes(): - attr.delete() + obj.attributes.clear() string = "Wiped all attributes on %s." % obj.name else: for attrname in attrs: