1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Merged server savegame and (broken and unused) client savegame files

This commit is contained in:
Ivan Savenko
2023-07-09 15:30:47 +03:00
parent fa4a0004b2
commit 8750aa2c5b
12 changed files with 11 additions and 65 deletions

View File

@@ -79,7 +79,7 @@ void CSavingScreen::saveGame()
close();
};
if(CResourceHandler::get("local")->existsResource(ResourceID(path, EResType::CLIENT_SAVEGAME)))
if(CResourceHandler::get("local")->existsResource(ResourceID(path, EResType::SAVEGAME)))
{
std::string hlp = CGI->generaltexth->allTexts[493]; //%s exists. Overwrite?
boost::algorithm::replace_first(hlp, "%s", tabSel->inputName->getText());