mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
more common code cleanup
This commit is contained in:
parent
d449e4bd83
commit
d802cdfb23
@ -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"]};
|
||||
|
Loading…
Reference in New Issue
Block a user