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