* i'm just gonna put this here. * I'm just gonna do it. * Update ShowHTNCommand.cs * I feel dumb. * may as well with this too. * this does in fact not work * :/
17 lines
412 B
C#
17 lines
412 B
C#
using Content.Client.NPC.HTN;
|
|
using Robust.Shared.Console;
|
|
|
|
namespace Content.Client.NPC;
|
|
|
|
public sealed class ShowHtnCommand : LocalizedEntityCommands
|
|
{
|
|
[Dependency] private readonly HTNSystem _htnSystem = default!;
|
|
|
|
public override string Command => "showhtn";
|
|
|
|
public override void Execute(IConsoleShell shell, string argStr, string[] args)
|
|
{
|
|
_htnSystem.EnableOverlay ^= true;
|
|
}
|
|
}
|