mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix leg damage always counted as #vehiclecrash
This commit is contained in:
parent
03f7451c99
commit
45aa80bed7
@ -33,7 +33,7 @@ if (_hitPointIndex < 0) then {
|
||||
|
||||
// Handle vehicle crashes
|
||||
if (_damage == _unit getVariable [HIT_CRASH, -1]) then {
|
||||
_isCrash = true;
|
||||
_isCrash = (_ammo == "");
|
||||
_unit setVariable [HIT_CRASH, -1];
|
||||
} else {
|
||||
_unit setVariable [HIT_CRASH, _damage];
|
||||
|
Loading…
Reference in New Issue
Block a user