From 32ef8fbf19b44460cf15d05fe514f011f57bbeea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Brostr=C3=B6m=2EA=20=7C=20Evul?= Date: Mon, 1 Apr 2024 19:05:18 +0200 Subject: [PATCH] Changed viariable tagGear to tagItems --- cScripts/functions/systems/fn_getArsenalWhitelist.sqf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cScripts/functions/systems/fn_getArsenalWhitelist.sqf b/cScripts/functions/systems/fn_getArsenalWhitelist.sqf index c556e48ab..dfb894e21 100644 --- a/cScripts/functions/systems/fn_getArsenalWhitelist.sqf +++ b/cScripts/functions/systems/fn_getArsenalWhitelist.sqf @@ -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");}; @@ -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) ; @@ -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