Escape pods (#14809)
* Namespace adjustments for days * pod * thanks rider * Fix the oop launch * Fixes * Fix stuff * eeeeeeeee * Fix * access * map * forgor * thing * Genericise escape pod fill
This commit is contained in:
@@ -11,12 +11,14 @@ namespace Content.Server.Shuttles.Commands;
|
||||
[AdminCommand(AdminFlags.Fun)]
|
||||
public sealed class DockEmergencyShuttleCommand : IConsoleCommand
|
||||
{
|
||||
[Dependency] private readonly IEntitySystemManager _sysManager = default!;
|
||||
|
||||
public string Command => "dockemergencyshuttle";
|
||||
public string Description => Loc.GetString("emergency-shuttle-command-dock-desc");
|
||||
public string Help => $"{Command}";
|
||||
public void Execute(IConsoleShell shell, string argStr, string[] args)
|
||||
{
|
||||
var system = IoCManager.Resolve<IEntitySystemManager>().GetEntitySystem<ShuttleSystem>();
|
||||
var system = _sysManager.GetEntitySystem<EmergencyShuttleSystem>();
|
||||
system.CallEmergencyShuttle();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user