Backwards array call to Z_checkArrayInConfig (#1845)

Z_checkArrayInConfig is expecting weapons in position 0 for _this, all other stuff like get z_at_getGearItems.sqf and z_at_getVehicleItems.sqf passes the weapons array in position 0.
This commit is contained in:
Kobayashi
2016-12-31 15:03:16 -06:00
committed by ebayShopper
parent 7ce4ba32a2
commit 79bbc2c5a4

View File

@@ -25,5 +25,5 @@ if (!isNull _backpack) then {
_normalMags = _freeSpace select 5; _normalMags = _freeSpace select 5;
_normalWeaps = _freeSpace select 6; _normalWeaps = _freeSpace select 6;
[_normalMags,_normalWeaps, typeOf _backpack,[]] call Z_checkArrayInConfig; [_normalWeaps, _normalMags, typeOf _backpack,[]] call Z_checkArrayInConfig;
}; };