mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Merge pull request #3274 from InspectorCaracal/patch-11
Fix nattributes typo
This commit is contained in:
commit
bd7c635d93
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