mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-12 02:28:11 +02:00
Fix bug
This commit is contained in:
parent
67c0d29478
commit
a8f31fabd1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user