Merge pull request #1955 from acemod/fix-return-damage

Fix incorrect damage value return when prevent death is enabled
This commit is contained in:
Glowbal 2015-07-31 11:20:51 +02:00
commit b449e4cab8

View File

@ -112,7 +112,7 @@ if (_unit getVariable [QGVAR(preventInstaDeath), GVAR(preventInstaDeath)]) exitW
};
0.89;
};
0.89;
_damageReturn min 0.89;
};
if (((_unit getVariable [QGVAR(enableRevive), GVAR(enableRevive)]) > 0) && {_damageReturn >= 0.9} && {_selection in ["", "head", "body"]}) exitWith {