mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Common - Fix loading units into FFV cargo seats (#9280)
This commit is contained in:
parent
39e4f9340b
commit
4f4389dd59
@ -38,6 +38,10 @@ if ((_vehicle emptyPositions "cargo" > 0) && {!(_unit getVariable ['ACE_isUncons
|
||||
};
|
||||
if (!_slotsOpen) then {
|
||||
private _cargoSeats = fullCrew [_vehicle, "cargo", true];
|
||||
// FFV cargo seats are empty cargo positions but are not returned by fullCrew "cargo"
|
||||
if (_cargoSeats isEqualTo []) then {
|
||||
_cargoSeats = (fullCrew [_vehicle, "turret", true]) select {_x select 4};
|
||||
};
|
||||
if (_reverseFill) then {
|
||||
reverse _cargoSeats;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user