mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Fix protoype object updates changing cached prototype. Resolves #3505
This commit is contained in:
parent
7f41e5a649
commit
3e2995a152
1 changed files with 1 additions and 1 deletions
|
|
@ -323,7 +323,7 @@ def prototype_from_object(obj):
|
|||
prot["prototype_locks"] = "spawn:all();edit:all()"
|
||||
prot["prototype_tags"] = []
|
||||
else:
|
||||
prot = prot[0]
|
||||
prot = prot[0].copy()
|
||||
|
||||
prot["key"] = obj.db_key or hashlib.md5(bytes(str(time.time()), "utf-8")).hexdigest()[:6]
|
||||
prot["typeclass"] = obj.db_typeclass_path
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue