CatStation/Content.Server/Shuttles/Commands/LaunchEmergencyShuttleCommand.cs
Pieter-Jan Briers 5168b5f3d4
IoC source gen compatibility (#43863)
* 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
2026-05-09 03:29:58 +00:00

22 lines
656 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>
/// Early launches in the emergency shuttle.
/// </summary>
[AdminCommand(AdminFlags.Fun)]
public sealed partial class LaunchEmergencyShuttleCommand : LocalizedEntityCommands
{
[Dependency] private EmergencyShuttleSystem _shuttleSystem = default!;
public override string Command => "launchemergencyshuttle";
public override void Execute(IConsoleShell shell, string argStr, string[] args)
{
_shuttleSystem.EarlyLaunch();
}
}