mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
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:
@@ -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;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user