From 9f64592a405fb40db68d1d04f8dafe84773bce55 Mon Sep 17 00:00:00 2001 From: Swept Date: Sun, 8 Aug 2021 21:43:12 +0000 Subject: [PATCH] Fix fixed-point format specifier in PowerCellComponent --- Content.Server/PowerCell/Components/PowerCellComponent.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/PowerCell/Components/PowerCellComponent.cs b/Content.Server/PowerCell/Components/PowerCellComponent.cs index 5b0378bea7..34c76aa4d4 100644 --- a/Content.Server/PowerCell/Components/PowerCellComponent.cs +++ b/Content.Server/PowerCell/Components/PowerCellComponent.cs @@ -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}"))); } }