Lighting: Polar Coordinates fix: Sparkle-Be-Gone (#1345)

This commit is contained in:
20kdc
2020-10-24 14:51:17 +01:00
committed by GitHub
parent 6bbc4b01e9
commit 4f6a4c8a28
5 changed files with 30 additions and 3 deletions

View File

@@ -729,6 +729,20 @@ namespace Robust.Client.Console.Commands
}
}
internal class ToggleHardFOV : IConsoleCommand
{
public string Command => "togglehardfov";
public string Description => "Toggles hard fov for client (for debugging space-station-14#2353).";
public string Help => "togglehardfov";
public bool Execute(IDebugConsole console, params string[] args)
{
var mgr = IoCManager.Resolve<ILightManager>();
mgr.DrawHardFov = !mgr.DrawHardFov;
return false;
}
}
internal class ToggleShadows : IConsoleCommand
{
public string Command => "toggleshadows";