Fix: Examine Damage now specifies no damage (#33064)

This commit is contained in:
metalgearsloth
2024-11-20 13:05:15 +11:00
committed by GitHub
2 changed files with 7 additions and 0 deletions

View File

@@ -61,6 +61,12 @@ public sealed class DamageExamineSystem : EntitySystem
}
else
{
if (damageSpecifier.GetTotal() == FixedPoint2.Zero && !damageSpecifier.AnyPositive())
{
msg.AddMarkupOrThrow(Loc.GetString("damage-none"));
return msg;
}
msg.AddMarkupOrThrow(Loc.GetString("damage-examine-type", ("type", type)));
}