Fix fixed-point format specifier in PowerCellComponent
This commit is contained in:
@@ -93,7 +93,7 @@ namespace Content.Server.PowerCell.Components
|
|||||||
{
|
{
|
||||||
if (inDetailsRange)
|
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}")));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user