1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

No longer save/load common game state to/from client file

This commit is contained in:
Adriankhl
2023-03-13 10:10:44 +01:00
parent f054064322
commit eba4e4dd2c
3 changed files with 20 additions and 33 deletions

View File

@@ -833,7 +833,6 @@ void ApplyClientNetPackVisitor::visitSaveGameClient(SaveGameClient & pack)
try
{
CSaveFile save(*CResourceHandler::get()->getResourceName(ResourceID(stem.to_string(), EResType::CLIENT_SAVEGAME)));
cl.saveCommonState(save);
save << cl;
}
catch(std::exception &e)