diff --git a/sarge/init/fn_postInit.sqf b/sarge/init/fn_postInit.sqf index d74db7f..7f0e024 100644 --- a/sarge/init/fn_postInit.sqf +++ b/sarge/init/fn_postInit.sqf @@ -22,7 +22,7 @@ private ["_SAR_supportedMaps","_config","_modConfigs","_modPatches","_modName"," scopeName "Main"; -_SAR_version = "2.4.5"; +_SAR_version = "2.4.6"; diag_log format ["Sarge's AI System: Welcome to Sarge AI!"]; diag_log format ["Sarge's AI System: Now initializing Sarge AI version %1 for %2",_SAR_version,worldName]; @@ -34,13 +34,13 @@ _SAR_supportedMods = ["dsr_code","epoch","exile","breakingpoint"]; _modName = ""; { - _modConfigs = toLower (isClass (configFile >> "CfgMods" >> _x)); + _modConfigs = isClass (configFile >> "CfgMods" >> _x); if (_modConfigs) then { - _modName = _x; + _modName = toLower (_x); }; _modPatches = isClass (configFile >> "CfgPatches" >> _x); if (_modPatches) then { - _modName = _x; + _modName = toLower (_x); }; if (_modName == "dsr_code") then {_modName = "desolation"}; } forEach _SAR_supportedMods;