Skip to content

Commit

Permalink
Changed viariable tagGear to tagItems
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasBrostrom committed Apr 2, 2024
1 parent 766193c commit 32ef8fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cScripts/functions/systems/fn_getArsenalWhitelist.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ private _companyItems = switch (_company) do {
};


private _tagGear = [];
private _tagItems = [];
{
private _tag = switch (_x) do {
case "role_officer": {GET_CONTAINER_KEYS("arsenal_role_officer");};
Expand All @@ -55,7 +55,7 @@ private _tagGear = [];
case "tag_doctor": {GET_CONTAINER_KEYS("arsenal_tag_doctor");};
default {[]};
};
_tagGear append _x;
_tagItems append _x;
} forEach [player] call EFUNC(gear,getLoadoutRole) ;


Expand Down Expand Up @@ -97,6 +97,6 @@ private _launcherSpecific = switch (true) do {
default {[]};
};

private _whitelist = _commonGear + _unitItems + _companyItems + _tagGear + _primarySpecific + _handgunSpecific + _launcherSpecific;
private _whitelist = _commonGear + _unitItems + _companyItems + _tagItems + _primarySpecific + _handgunSpecific + _launcherSpecific;

_whitelist

0 comments on commit 32ef8fb

Please sign in to comment.