Better output for evennia --initmissing. Fix object copy with tags (Resolve #1909)
This commit is contained in:
parent
6158f247bc
commit
a35dcedcc0
2 changed files with 14 additions and 5 deletions
|
|
@ -507,7 +507,7 @@ class ObjectDBManager(TypedObjectManager):
|
|||
|
||||
# copy over all tags, if any
|
||||
for tag in original_object.tags.get(return_tagobj=True, return_list=True):
|
||||
new_object.tags.add(tag=tag.key, category=tag.category, data=tag.data)
|
||||
new_object.tags.add(tag=tag.db_key, category=tag.db_category, data=tag.db_data)
|
||||
|
||||
return new_object
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue