Fix fixed-point format specifier in PowerCellComponent

This commit is contained in:
Swept
2021-08-08 21:43:12 +00:00
committed by GitHub
parent c688dd59fc
commit 9f64592a40

View File

@@ -93,7 +93,7 @@ namespace Content.Server.PowerCell.Components
{
if (inDetailsRange)
{
message.AddMarkup(Loc.GetString("power-cell-component-examine-details", ("currentCharge", $"{CurrentCharge / MaxCharge * 100}:F0")));
message.AddMarkup(Loc.GetString("power-cell-component-examine-details", ("currentCharge", $"{CurrentCharge / MaxCharge * 100:F0}")));
}
}