Truncate gun firerates (#18413)

screenshots-and-videos is the new bug channel.
This commit is contained in:
metalgearsloth
2023-07-29 16:09:43 +10:00
committed by GitHub
parent 3ee808fcbe
commit d2123964a1

View File

@@ -16,7 +16,7 @@ public abstract partial class SharedGunSystem
return;
args.PushMarkup(Loc.GetString("gun-selected-mode-examine", ("color", ModeExamineColor), ("mode", GetLocSelector(component.SelectedMode))));
args.PushMarkup(Loc.GetString("gun-fire-rate-examine", ("color", FireRateExamineColor), ("fireRate", component.FireRate)));
args.PushMarkup(Loc.GetString("gun-fire-rate-examine", ("color", FireRateExamineColor), ("fireRate", $"{component.FireRate:0.0}")));
}
private string GetLocSelector(SelectiveFire mode)