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:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user