Fix unittests, resolve bugs
This commit is contained in:
parent
e52503b710
commit
116f6e7505
4 changed files with 87 additions and 58 deletions
|
|
@ -186,6 +186,7 @@ def prototype_from_object(obj):
|
|||
obj.key, hashlib.md5(str(time.time())).hexdigest()[:7])
|
||||
prot['prototype_desc'] = "Built from {}".format(str(obj))
|
||||
prot['prototype_locks'] = "spawn:all();edit:all()"
|
||||
prot['prototype_tags'] = []
|
||||
|
||||
prot['key'] = obj.db_key or hashlib.md5(str(time.time())).hexdigest()[:6]
|
||||
prot['typeclass'] = obj.db_typeclass_path
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue