1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-27 00:41:08 +02:00

Mod system improvement Part I : Fix content losing after deserialization

This commit is contained in:
Dmitry Orlov
2020-10-10 00:31:23 +03:00
parent bf07cd0ad9
commit 195fb8ff41
7 changed files with 36 additions and 13 deletions

View File

@ -698,7 +698,7 @@ void processCommand(const std::string &message)
for(auto contentName : contentNames)
{
auto & content = VLC->modh->content[contentName];
auto & content = (*VLC->modh->content)[contentName];
auto contentOutPath = outPath / contentName;
bfs::create_directories(contentOutPath);