mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-16 15:22:27 +02:00
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
18 lines
573 B
C#
18 lines
573 B
C#
using Robust.Client.GameObjects;
|
|
using Robust.Shared.Console;
|
|
using Robust.Shared.GameObjects;
|
|
|
|
namespace Robust.Client.Console.Commands
|
|
{
|
|
public sealed class GridChunkBBCommand : IConsoleCommand
|
|
{
|
|
public string Command => "showchunkbb";
|
|
public string Description => "Displays chunk bounds for the purposes of rendering";
|
|
public string Help => $"{Command}";
|
|
public void Execute(IConsoleShell shell, string argStr, string[] args)
|
|
{
|
|
EntitySystem.Get<GridChunkBoundsDebugSystem>().Enabled ^= true;
|
|
}
|
|
}
|
|
}
|