Skip to content

Commit

Permalink
Common - Use lifeState check in FUNC(isAwake) (acemod#9646)
Browse files Browse the repository at this point in the history
Co-authored-by: johnb432 <[email protected]>
  • Loading branch information
LinkIsGrim and johnb432 authored Aug 17, 2024
1 parent 22f9727 commit fcfb212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/common/functions/fnc_isAwake.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@

params ["_unit"];

alive _unit && {!(_unit getVariable ["ACE_isUnconscious", false])}
lifeState _unit in ["HEALTHY", "INJURED"]

0 comments on commit fcfb212

Please sign in to comment.