mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Interact Menu - Fix self actions when handcuffed (#10188)
This commit is contained in:
parent
7cd2b9820b
commit
b96d74fb11
@ -119,7 +119,7 @@ private _actions = [
|
|||||||
// Dummy statement so it's not collapsed when there's no available actions
|
// Dummy statement so it's not collapsed when there's no available actions
|
||||||
true
|
true
|
||||||
},
|
},
|
||||||
{[ACE_player, _target, ["isNotInside","isNotDragging", "isNotCarrying", "isNotSwimming", "notOnMap", "isNotEscorting", "isNotSurrendering", "isNotSitting", "isNotOnLadder", "isNotRefueling"]] call EFUNC(common,canInteractWith)},
|
{[ACE_player, _target, ["isNotInside","isNotDragging", "isNotCarrying", "isNotSwimming", "notOnMap", "isNotEscorting", "isNotSurrendering", "isNotHandcuffed", "isNotSitting", "isNotOnLadder", "isNotRefueling"]] call EFUNC(common,canInteractWith)},
|
||||||
{},
|
{},
|
||||||
{},
|
{},
|
||||||
"Spine3",
|
"Spine3",
|
||||||
|
@ -36,7 +36,7 @@ if (_isTextEditing) then {
|
|||||||
if (
|
if (
|
||||||
_isTextEditing ||
|
_isTextEditing ||
|
||||||
{(isNull curatorCamera) && {
|
{(isNull curatorCamera) && {
|
||||||
!([ACE_player, objNull, ["isNotInside","isNotDragging", "isNotCarrying", "isNotSwimming", "notOnMap", "isNotEscorting", "isNotSurrendering", "isNotSitting", "isNotOnLadder", "isNotRefueling"]] call EFUNC(common,canInteractWith))
|
!([ACE_player, objNull, ["isNotInside","isNotDragging", "isNotCarrying", "isNotSwimming", "notOnMap", "isNotEscorting", "isNotSurrendering", "isNotHandcuffed", "isNotSitting", "isNotOnLadder", "isNotRefueling"]] call EFUNC(common,canInteractWith))
|
||||||
}
|
}
|
||||||
}) exitWith {false};
|
}) exitWith {false};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user