mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Cargo - Remove the ability to load cooked-off items (#8876)
This commit is contained in:
parent
6a213bcf60
commit
f3258cae98
@ -35,7 +35,8 @@ if (_item isEqualType "") then {
|
|||||||
} else {
|
} else {
|
||||||
_validItem =
|
_validItem =
|
||||||
(alive _item) &&
|
(alive _item) &&
|
||||||
{_ignoreInteraction || {([_item, _vehicle] call EFUNC(interaction,getInteractionDistance)) < MAX_LOAD_DISTANCE}};
|
{_ignoreInteraction || {([_item, _vehicle] call EFUNC(interaction,getInteractionDistance)) < MAX_LOAD_DISTANCE}} &&
|
||||||
|
{!(_item getVariable [QEGVAR(cookoff,isCookingOff), false])};
|
||||||
};
|
};
|
||||||
|
|
||||||
_validItem &&
|
_validItem &&
|
||||||
|
Loading…
Reference in New Issue
Block a user