From d1c3a183097ffc959f05e24f7d54f3d60f68c711 Mon Sep 17 00:00:00 2001 From: Grim <69561145+LinkIsGrim@users.noreply.github.com> Date: Mon, 30 Sep 2024 06:31:38 -0300 Subject: [PATCH] change gear interaction condition on man to isAwake --- addons/interaction/CfgVehicles.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/interaction/CfgVehicles.hpp b/addons/interaction/CfgVehicles.hpp index 90601be63f6..66059139e49 100644 --- a/addons/interaction/CfgVehicles.hpp +++ b/addons/interaction/CfgVehicles.hpp @@ -164,7 +164,7 @@ class CfgVehicles { }; class GVAR(Gear) { displayName = "$STR_ACTION_GEAR"; - condition = QUOTE(!(lifeState _target in [ARR_2('HEALTHY','INJURED')]) && {isNull objectParent _target}); + condition = QUOTE(!(_target call EFUNC(common,isAwake)) && {isNull objectParent _target}); statement = QUOTE(_player action [ARR_2(QUOTE(QUOTE(Gear)),_target)]); icon = "\A3\ui_f\data\igui\cfg\actions\gear_ca.paa"; };