Files
RobustToolbox/Robust.Client/Console/Commands/ReloadLocalizationsCommand.cs
T
2022-11-06 03:00:57 +11:00

19 lines
517 B
C#

using Robust.Shared.Console;
using Robust.Shared.IoC;
using Robust.Shared.Localization;
namespace Robust.Client.Console.Commands
{
internal sealed class ReloadLocalizationsCommand : LocalizedCommands
{
public override string Command => "rldloc";
public override void Execute(IConsoleShell shell, string argStr, string[] args)
{
IoCManager.Resolve<ILocalizationManager>().ReloadLocalizations();
shell.RemoteExecuteCommand("sudo rldloc");
}
}
}