Skip to content

Commit

Permalink
Update addons/inventory/XEH_postInit.sqf
Browse files Browse the repository at this point in the history
Co-Authored-By: dedmen <[email protected]>
  • Loading branch information
commy2 and dedmen authored Feb 9, 2019
1 parent 9e13c5b commit f3f1b0a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion addons/inventory/XEH_postInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ if (!hasInterface) exitWith {};
private _allItems = uiNamespace getVariable [QGVAR(ItemKeyCache), []]; //See XEH_preStart.sqf

//isEqualType is hacking protection as we cannot trust that the cache hasn't been manipulated
{GVAR(ItemKeyNamespace) setVariable _x;} forEach (_allItems select {_x isEqualType []});
{
if (_x isEqualType []) then {
GVAR(ItemKeyNamespace) setVariable _x;
};
} forEach _allItems;

GVAR(customFilters) = [];
GVAR(selectedFilterIndex) = -1;
Expand Down

0 comments on commit f3f1b0a

Please sign in to comment.