fish-station/Content.Client/Decals/ToggleDecalCommand.cs
Paul Ritter 219d91c6da
decal system & crayons (#5183)
Co-authored-by: Paul <ritter.paul1+git@googlemail.com>
2021-12-03 15:35:57 +01:00

15 lines
440 B
C#

using Robust.Shared.Console;
using Robust.Shared.GameObjects;
namespace Content.Client.Decals;
public class ToggleDecalCommand : IConsoleCommand
{
public string Command => "toggledecals";
public string Description => "Toggles decaloverlay";
public string Help => $"{Command}";
public void Execute(IConsoleShell shell, string argStr, string[] args)
{
EntitySystem.Get<DecalSystem>().ToggleOverlay();
}
}