diff --git a/addons/common/functions/fnc_getItemType.sqf b/addons/common/functions/fnc_getItemType.sqf index 79abf41341..4d6ee932fa 100644 --- a/addons/common/functions/fnc_getItemType.sqf +++ b/addons/common/functions/fnc_getItemType.sqf @@ -33,7 +33,7 @@ if (isNumber (_config >> "ItemInfo" >> "type")) then { _default = ["item", "magazine"] select (_cfgType == "CfgMagazines"); switch (true) do { - case (_type == 0): {[_default,"unknown"]}; + case (_type == 0): {[_default, "unknown"]}; case (_type == 2^0): {["weapon", "primary"]}; case (_type == 2^1): {["weapon", "handgun"]}; case (_type == 2^2): {["weapon", "secondary"]};