1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00
This commit is contained in:
nordsoft
2023-04-08 02:41:05 +04:00
committed by Nordsoft91
parent 67c0d29478
commit a8f31fabd1

View File

@@ -145,8 +145,8 @@ namespace JsonRandom
for(const auto & element : value.Vector()) for(const auto & element : value.Vector())
{ {
SecondarySkill id(VLC->modh->identifiers.getIdentifier(value.meta, "skill", loadKey(element, rng, defaultSkills)).get()); SecondarySkill id(VLC->modh->identifiers.getIdentifier(element.meta, "skill", loadKey(element, rng, defaultSkills)).get());
ret[id] = loadValue(value, rng); ret[id] = loadValue(element, rng);
} }
} }
return ret; return ret;