mirror of
https://github.com/evennia/evennia.git
synced 2026-03-29 12:07:17 +02:00
fix nattributes typo
This commit is contained in:
parent
38735466af
commit
cca8cd9fa9
1 changed files with 1 additions and 1 deletions
|
|
@ -1503,7 +1503,7 @@ class DefaultObject(ObjectDB, metaclass=TypeclassBase):
|
|||
self.attributes.batch_add(*cdict["attributes"])
|
||||
if cdict.get("nattributes"):
|
||||
# this should be a dict of nattrname:value
|
||||
for key, value in cdict["nattributes"]:
|
||||
for key, value in cdict["nattributes"].items():
|
||||
self.nattributes.add(key, value)
|
||||
|
||||
del self._createdict
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue