From fc67c3b4fde446e6f5b8927cf6f4fde420ded4eb Mon Sep 17 00:00:00 2001 From: Teh Dango Date: Thu, 12 Apr 2018 13:37:24 -0400 Subject: [PATCH] 2.4.6 Fixed typo in initialization file preventing SargeAi from loading as expected. --- sarge/init/fn_postInit.sqf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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;