From 3a202989dc918da53859bcff7f71ec40e44b2eb8 Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Sun, 3 Oct 2021 17:58:19 +1100 Subject: [PATCH] Update showbb command (#4710) --- Content.Client/Sandbox/SandboxManager.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Client/Sandbox/SandboxManager.cs b/Content.Client/Sandbox/SandboxManager.cs index a13fd35be8..5898535ec9 100644 --- a/Content.Client/Sandbox/SandboxManager.cs +++ b/Content.Client/Sandbox/SandboxManager.cs @@ -88,7 +88,7 @@ namespace Content.Client.Sandbox ShowMarkersButton = new Button { Text = Loc.GetString("sandbox-window-show-spawns-button"), ToggleMode = true, Pressed = EntitySystem.Get().MarkersVisible }; vBox.AddChild(ShowMarkersButton); - ShowBbButton = new Button { Text = Loc.GetString("sandbox-window-show-bb-button"), ToggleMode = true, Pressed = IoCManager.Resolve().DebugColliders }; + ShowBbButton = new Button { Text = Loc.GetString("sandbox-window-show-bb-button"), ToggleMode = true, Pressed = (EntitySystem.Get().Flags & PhysicsDebugFlags.Shapes) != 0x0 }; vBox.AddChild(ShowBbButton); MachineLinkingButton = new Button { Text = Loc.GetString("sandbox-window-link-machines-button"), ToggleMode = true }; @@ -354,7 +354,7 @@ namespace Content.Client.Sandbox private void ShowBb() { - _consoleHost.ExecuteCommand("showbb"); + _consoleHost.ExecuteCommand("physics shapes"); } private void LinkMachines()