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