mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
don't knock out if pain is removed
This commit is contained in:
parent
be56b4d806
commit
fc39ac14b7
@ -28,6 +28,6 @@ if (_pain > 0) then {
|
||||
|
||||
_unit setVariable [QEGVAR(medical,pain), _pain];
|
||||
|
||||
if (_pain >= PAIN_UNCONSCIOUS) then {
|
||||
if (_painToAdd > 0 && {_pain >= PAIN_UNCONSCIOUS}) then {
|
||||
[_unit, true, PAIN_KNOCK_OUT_DURATION] call FUNC(setUnconscious);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user