Skip to content

Commit

Permalink
Type type check
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasBrostrom committed Apr 22, 2024
1 parent 4a99a2d commit 2b92b9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cScripts/functions/gear/fn_gear_getTags.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
*/

params [["_loadout","",[]]];
params [["_loadout","",[""]]];

if !(isClass (missionConfigFile >> "CfgEquipmentTags")) exitWith {
SHOW_ERROR("Gear","cfgEquipmentTag config does not exist");
Expand Down
2 changes: 1 addition & 1 deletion cScripts/functions/gear/fn_gear_isTag.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
*/

params [["_item","",[]]];
params [["_item","",[""]]];

private _cfgEquipmentTags = isArray (missionConfigFile >> "CfgEquipmentTags" >> _item);
if (_cfgEquipmentTags) exitWith {true};
Expand Down

0 comments on commit 2b92b9c

Please sign in to comment.