CatStation/Content.Client/Decals/ToggleDecalCommand.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

15 lines
384 B
C#

using Robust.Shared.Console;
namespace Content.Client.Decals;
public sealed partial class ToggleDecalCommand : LocalizedEntityCommands
{
[Dependency] private DecalSystem _decal = default!;
public override string Command => "toggledecals";
public override void Execute(IConsoleShell shell, string argStr, string[] args)
{
_decal.ToggleOverlay();
}
}