mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Fix #1095.
This commit is contained in:
parent
57a76c297c
commit
0750d46285
@ -924,7 +924,9 @@ void CArtHandler::addBonuses()
|
||||
}
|
||||
cfg.Vector().push_back(jn);
|
||||
}
|
||||
JsonWriter(std::ofstream("config/artifacts.json"), cfg);
|
||||
|
||||
std::ofstream artconfigOutput("config/artifacts.json");
|
||||
JsonWriter(artconfigOutput, cfg);
|
||||
}
|
||||
|
||||
void CArtHandler::clear()
|
||||
|
Loading…
Reference in New Issue
Block a user