Skip to content

Commit

Permalink
save allExtensions return
Browse files Browse the repository at this point in the history
Co-authored-by: johnb432 <[email protected]>
  • Loading branch information
LinkIsGrim and johnb432 authored Jan 13, 2025
1 parent bbe1610 commit ef2fa95
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion addons/common/functions/fnc_checkFiles.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ if (hasInterface) then {

// Check for correct hash
if (GVAR(checkExtensions)) then {
private _allExtensions = allExtensions;

{
private _extName = configName _x;
private _extensionType = "dll";
Expand All @@ -149,7 +151,7 @@ if (hasInterface) then {
if ((_x getOrDefault ["name", ""]) == _extName) exitWith {
_extensionHash = _x getOrDefault ["hash", ""];
};
} forEach allExtensions;
} forEach _allExtensions;
TRACE_3("",_extName,_expectedHash,_extensionHash);

if (_extensionHash != _expectedHash) then {
Expand Down

0 comments on commit ef2fa95

Please sign in to comment.