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

Fix translations in map editor / fix crash on game end

This commit is contained in:
nordsoft
2023-10-05 23:34:29 +02:00
parent 766f9cf19f
commit 043f54698b
4 changed files with 24 additions and 5 deletions

View File

@@ -157,7 +157,7 @@ void CMapHeader::registerMapStrings()
mapLanguages.insert(translation.first);
}
if(maxStrings == 0 || mapBaseLanguages.empty())
if(maxStrings == 0 || mapLanguages.empty())
{
logGlobal->info("Map %s doesn't have any supported translation", name.toString());
return;