Skip to content

Commit

Permalink
Update addons/common/functions/fnc_isModLoaded.sqf
Browse files Browse the repository at this point in the history
Co-authored-by: PabstMirror <[email protected]>
  • Loading branch information
johnb432 and PabstMirror authored Jan 1, 2024
1 parent ba7fb63 commit 39d72aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/common/functions/fnc_isModLoaded.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
params [["_modName", "", [""]]];

private _key = toLowerANSI _modName;
private _return = GVAR(isModLoadedCache) get _key;
GVAR(isModLoadedCache) getOrDefaultCall [_key, {isClass (configFile >> "CfgPatches" >> _key )}, true]

if (isNil "_return") then {
_return = isClass (configFile >> "CfgPatches" >> _modName);
Expand Down

0 comments on commit 39d72aa

Please sign in to comment.