Slight localization func cleanup (#11380)

This commit is contained in:
Kara
2022-10-18 19:51:18 -07:00
committed by GitHub
parent 592f135d92
commit 7ad867fa0f
8 changed files with 23 additions and 81 deletions

View File

@@ -17,7 +17,7 @@ namespace Content.Server.Administration.Commands
var loc = IoCManager.Resolve<ILocalizationManager>();
// ReSharper disable once ConvertIfStatementToSwitchStatement
if (args.Length == 1 && TimeSpan.TryParseExact(args[0], Localization.TimeSpanMinutesFormats, loc.DefaultCulture, out var timeSpan))
if (args.Length == 1 && TimeSpan.TryParseExact(args[0], ContentLocalizationManager.TimeSpanMinutesFormats, loc.DefaultCulture, out var timeSpan))
{
EntitySystem.Get<RoundEndSystem>().RequestRoundEnd(timeSpan, shell.Player?.AttachedEntity, false);
}