diff --git a/Content.Client/Robotics/UI/RoboticsConsoleBoundUserInterface.cs b/Content.Client/Robotics/UI/RoboticsConsoleBoundUserInterface.cs index 9a5159880f9..85770f1d97b 100644 --- a/Content.Client/Robotics/UI/RoboticsConsoleBoundUserInterface.cs +++ b/Content.Client/Robotics/UI/RoboticsConsoleBoundUserInterface.cs @@ -20,6 +20,12 @@ protected override void Open() _window = this.CreateWindow(); _window.SetEntity(Owner); + // Corvax-Next-MutableLaws-Start + _window.OnChangeLawsPressed += address => + { + SendMessage(new RoboticsConsoleChangeLawsMessage(address)); + }; + // Corvax-Next-MutableLaws-End _window.OnDisablePressed += address => { SendMessage(new RoboticsConsoleDisableMessage(address)); diff --git a/Content.Client/Robotics/UI/RoboticsConsoleWindow.xaml b/Content.Client/Robotics/UI/RoboticsConsoleWindow.xaml index a3b39787900..8c03eae084e 100644 --- a/Content.Client/Robotics/UI/RoboticsConsoleWindow.xaml +++ b/Content.Client/Robotics/UI/RoboticsConsoleWindow.xaml @@ -30,7 +30,10 @@ -