Fix (again) of tag batch creation

This commit is contained in:
Griatch 2018-10-13 16:59:07 +02:00
parent 5f9047b161
commit 3fbd74b332

View file

@ -716,7 +716,7 @@ def spawn(*prototypes, **kwargs):
val = prot.pop("tags", [])
tags = []
for (tag, category, data) in val:
tags.append((init_spawn_value(val, str), category, data))
tags.append((init_spawn_value(tag, str), category, data))
prototype_key = prototype.get('prototype_key', None)
if prototype_key: