1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00
This commit is contained in:
Michał W. Urbańczyk 2012-09-28 19:11:09 +00:00
parent 57a76c297c
commit 0750d46285

View File

@ -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()