mirror of
https://github.com/Teh-Dango/Sarge-AI.git
synced 2024-08-30 16:32:11 +00:00
2.4.6
Fixed typo in initialization file preventing SargeAi from loading as expected.
This commit is contained in:
parent
c6a6bc0567
commit
fc67c3b4fd
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user