1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

Fix minor bugs

This commit is contained in:
nordsoft
2023-04-20 03:20:00 +04:00
parent 4e18a3d579
commit 9ecf16ca23
3 changed files with 11 additions and 2 deletions

View File

@@ -264,7 +264,7 @@ CCampaignScenario CCampaignHandler::readScenarioFromJson(JsonNode & reader)
CCampaignScenario ret;
ret.conquered = false;
ret.mapName = reader["map"].String();
for(auto & g : reader["precoditions"].Vector())
for(auto & g : reader["preconditions"].Vector())
ret.preconditionRegions.insert(g.Integer());
ret.regionColor = reader["color"].Integer();