From 2b92b9c68182308f21c2dacb523863b057ca721e Mon Sep 17 00:00:00 2001 From: AndreasBrostrom Date: Mon, 22 Apr 2024 14:38:12 +0200 Subject: [PATCH] Type type check --- cScripts/functions/gear/fn_gear_getTags.sqf | 2 +- cScripts/functions/gear/fn_gear_isTag.sqf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cScripts/functions/gear/fn_gear_getTags.sqf b/cScripts/functions/gear/fn_gear_getTags.sqf index c6872f48e..d5b0ed76e 100644 --- a/cScripts/functions/gear/fn_gear_getTags.sqf +++ b/cScripts/functions/gear/fn_gear_getTags.sqf @@ -15,7 +15,7 @@ * */ -params [["_loadout","",[]]]; +params [["_loadout","",[""]]]; if !(isClass (missionConfigFile >> "CfgEquipmentTags")) exitWith { SHOW_ERROR("Gear","cfgEquipmentTag config does not exist"); diff --git a/cScripts/functions/gear/fn_gear_isTag.sqf b/cScripts/functions/gear/fn_gear_isTag.sqf index fb9d1b7ba..514638dc6 100644 --- a/cScripts/functions/gear/fn_gear_isTag.sqf +++ b/cScripts/functions/gear/fn_gear_isTag.sqf @@ -14,7 +14,7 @@ * */ -params [["_item","",[]]]; +params [["_item","",[""]]]; private _cfgEquipmentTags = isArray (missionConfigFile >> "CfgEquipmentTags" >> _item); if (_cfgEquipmentTags) exitWith {true};