1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-12 02:28:11 +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())
{
SecondarySkill id(VLC->modh->identifiers.getIdentifier(value.meta, "skill", loadKey(element, rng, defaultSkills)).get());
ret[id] = loadValue(value, rng);
SecondarySkill id(VLC->modh->identifiers.getIdentifier(element.meta, "skill", loadKey(element, rng, defaultSkills)).get());
ret[id] = loadValue(element, rng);
}
}
return ret;