mirror of
https://github.com/evennia/evennia.git
synced 2026-03-18 22:06:30 +01:00
Updating to make unittests work
This commit is contained in:
parent
f3af089aac
commit
cfd2f111f1
3 changed files with 12 additions and 3 deletions
|
|
@ -389,7 +389,7 @@ class ObjectManager(TypedObjectManager):
|
|||
return None
|
||||
|
||||
# copy over all attributes from old to new.
|
||||
for attr in original_object.get_all_attributes():
|
||||
for attr in original_object.attributes.all():
|
||||
new_object.attributes.add(attr.key, attr.value)
|
||||
|
||||
# copy over all cmdsets, if any
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue