diff --git a/A3A/addons/core/functions/init/fn_initZones.sqf b/A3A/addons/core/functions/init/fn_initZones.sqf index b3a6bca98b..9c530db66d 100644 --- a/A3A/addons/core/functions/init/fn_initZones.sqf +++ b/A3A/addons/core/functions/init/fn_initZones.sqf @@ -73,7 +73,7 @@ private _disabledTowns = getArray (_mapInfo/"disabledTowns"); {server setVariable [_x select 0,_x select 1]} forEach _townPopulations; private _hardCodedPopulation = _townPopulations isNotEqualTo []; -"(getText (_x >> ""type"") in [""NameCityCapital"",""Namecitycapital"", ""NameCity"",""Namecity"", ""NameVillage"",""Namevillage"", ""CityCenter"",""Citycenter""]) && +"(toLower getText (_x >> ""type"") in [""namecitycapital"",""namecity"",""namevillage"",""citycenter""]) && !(getText (_x >> ""Name"") isEqualTo """") && !((configName _x) in _disabledTowns)" configClasses (configfile >> "CfgWorlds" >> worldName >> "Names") apply {