mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
* IoC source gen compatibility Can be merged before or after https://github.com/space-wizards/RobustToolbox/pull/6549 doesn't really matter. * Missed a spot
22 lines
652 B
C#
22 lines
652 B
C#
using Content.Server.Administration;
|
|
using Content.Server.Shuttles.Systems;
|
|
using Content.Shared.Administration;
|
|
using Robust.Shared.Console;
|
|
|
|
namespace Content.Server.Shuttles.Commands;
|
|
|
|
/// <summary>
|
|
/// Calls in the emergency shuttle.
|
|
/// </summary>
|
|
[AdminCommand(AdminFlags.Fun)]
|
|
public sealed partial class DockEmergencyShuttleCommand : LocalizedEntityCommands
|
|
{
|
|
[Dependency] private EmergencyShuttleSystem _shuttleSystem = default!;
|
|
|
|
public override string Command => "dockemergencyshuttle";
|
|
|
|
public override void Execute(IConsoleShell shell, string argStr, string[] args)
|
|
{
|
|
_shuttleSystem.DockEmergencyShuttle();
|
|
}
|
|
}
|