Clean up all missing EntitySystem proxy method uses (#38353)
This commit is contained in:
@@ -57,7 +57,7 @@ public sealed class ProjectileSystem : SharedProjectileSystem
|
||||
var modifiedDamage = _damageableSystem.TryChangeDamage(target, ev.Damage, component.IgnoreResistances, damageable: damageableComponent, origin: component.Shooter);
|
||||
var deleted = Deleted(target);
|
||||
|
||||
if (modifiedDamage is not null && EntityManager.EntityExists(component.Shooter))
|
||||
if (modifiedDamage is not null && Exists(component.Shooter))
|
||||
{
|
||||
if (modifiedDamage.AnyPositive() && !deleted)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user