1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Fix regression - crash on attempt to load saved game

This commit is contained in:
Ivan Savenko
2025-07-31 21:55:46 +03:00
parent 800ccf2651
commit bfc7ca8c86

View File

@@ -1606,8 +1606,8 @@ void CGameHandler::save(const std::string & filename)
void CGameHandler::load(const StartInfo &info)
{
logGlobal->info("Loading from %s", info.fileURI);
const auto stem = FileInfo::GetPathStem(info.fileURI);
logGlobal->info("Loading from %s", info.mapname);
const auto stem = FileInfo::GetPathStem(info.mapname);
reinitScripting();