diff --git a/Resources/Locale/en-US/commands.ftl b/Resources/Locale/en-US/commands.ftl index fcafc42eedf..9239c8c35fa 100644 --- a/Resources/Locale/en-US/commands.ftl +++ b/Resources/Locale/en-US/commands.ftl @@ -386,7 +386,7 @@ cmd-restart-desc = Gracefully restarts the server (not just the round). cmd-restart-help = Usage: {$command} cmd-shutdown-desc = Gracefully shuts down the server. -cmd-shutdown-help = Usage: {$command} +cmd-shutdown-help = Usage: {$command} [] cmd-saveconfig-desc = Saves the server configuration to the config file. cmd-saveconfig-help = Usage: {$command} diff --git a/Robust.Server/Console/Commands/SysCommands.cs b/Robust.Server/Console/Commands/SysCommands.cs index 1b44c4a9be6..69e82161c3f 100644 --- a/Robust.Server/Console/Commands/SysCommands.cs +++ b/Robust.Server/Console/Commands/SysCommands.cs @@ -30,7 +30,7 @@ sealed partial class ShutdownCommand : LocalizedCommands public override void Execute(IConsoleShell shell, string argStr, string[] args) { - _server.Shutdown(null); + _server.Shutdown(argStr[$"{Command} ".Length..].Trim()); } }