Truncate gun firerates (#18413)
screenshots-and-videos is the new bug channel.
This commit is contained in:
@@ -16,7 +16,7 @@ public abstract partial class SharedGunSystem
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
args.PushMarkup(Loc.GetString("gun-selected-mode-examine", ("color", ModeExamineColor), ("mode", GetLocSelector(component.SelectedMode))));
|
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)
|
private string GetLocSelector(SelectiveFire mode)
|
||||||
|
|||||||
Reference in New Issue
Block a user