mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Merge pull request #1591 from acemod/medicalFallingFix
Fixes _projectile not being updated
This commit is contained in:
commit
0aaabfde7c
@ -52,6 +52,8 @@ if (GVAR(level) < 2) then {
|
||||
_damageReturn = _this call FUNC(handleDamage_basic);
|
||||
};
|
||||
_newDamage = _this call FUNC(handleDamage_caching);
|
||||
// handleDamage_caching may have modified the projectile string
|
||||
_projectile = _this select 4;
|
||||
_typeOfDamage = [_projectile] call FUNC(getTypeOfDamage);
|
||||
|
||||
_typeIndex = (GVAR(allAvailableDamageTypes) find _typeOfDamage);
|
||||
|
Loading…
Reference in New Issue
Block a user