DamageableSystem cleanup & performance improvements (#20820)
This commit is contained in:
@@ -37,7 +37,7 @@ public sealed partial class GunSystem
|
||||
{
|
||||
var p = (ProjectileComponent) projectile.Component;
|
||||
|
||||
if (p.Damage.Total > FixedPoint2.Zero)
|
||||
if (!p.Damage.Empty)
|
||||
{
|
||||
return p.Damage;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user