Skip to content

Commit

Permalink
Interaction - Change gear interaction condition on man to isAwake (#1…
Browse files Browse the repository at this point in the history
…0357)

change gear interaction condition on man to isAwake
  • Loading branch information
LinkIsGrim authored Sep 30, 2024
1 parent 8d0e70a commit 91451d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/interaction/CfgVehicles.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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";
};
Expand Down

0 comments on commit 91451d9

Please sign in to comment.