Removed old Loc.GetString() use instances (#4155)
Co-authored-by: DrSmugleaf <DrSmugleaf@users.noreply.github.com>
This commit is contained in:
@@ -429,9 +429,9 @@ namespace Content.Server.Weapon.Ranged.Barrels.Components
|
||||
{
|
||||
var fireRateMessage = Loc.GetString(FireRateSelector switch
|
||||
{
|
||||
FireRateSelector.Safety => "Its safety is enabled.",
|
||||
FireRateSelector.Single => "It's in single fire mode.",
|
||||
FireRateSelector.Automatic => "It's in automatic fire mode.",
|
||||
FireRateSelector.Safety => "server-ranged-barrel-component-on-examine-fire-rate-safety-description",
|
||||
FireRateSelector.Single => "server-ranged-barrel-component-on-examine-fire-rate-single-description",
|
||||
FireRateSelector.Automatic => "server-ranged-barrel-component-on-examine-fire-rate-automatic-description",
|
||||
_ => throw new IndexOutOfRangeException()
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user