From: Vasilis The Pikachu Date: Sun, 4 Jan 2026 16:28:09 +0000 (+0100) Subject: Revert "feat: RnD tech research console now have reroll feature (#32931)" X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=0ab3b1a075dccc232e60ba7a588050b56ff9be0a;p=space-station-14.git Revert "feat: RnD tech research console now have reroll feature (#32931)" This reverts commit 1f2d80297cb81e8dbbd1c1f46aeb531a2624204c. Discussed during the maintainer meeting and voted to be reverted at this time. --- diff --git a/Content.Client/Research/ResearchSystem.cs b/Content.Client/Research/ResearchSystem.cs index 7086fc928b..55d9535272 100644 --- a/Content.Client/Research/ResearchSystem.cs +++ b/Content.Client/Research/ResearchSystem.cs @@ -1,5 +1,8 @@ -using Content.Shared.Research.Systems; +using Content.Shared.Research.Systems; namespace Content.Client.Research; -public sealed class ResearchSystem : SharedResearchSystem; +public sealed class ResearchSystem : SharedResearchSystem +{ + +} diff --git a/Content.Client/Research/UI/ResearchConsoleBoundUserInterface.cs b/Content.Client/Research/UI/ResearchConsoleBoundUserInterface.cs index d5202eea5d..2895ada61f 100644 --- a/Content.Client/Research/UI/ResearchConsoleBoundUserInterface.cs +++ b/Content.Client/Research/UI/ResearchConsoleBoundUserInterface.cs @@ -7,22 +7,23 @@ using Robust.Shared.Prototypes; namespace Content.Client.Research.UI; [UsedImplicitly] -public sealed class ResearchConsoleBoundUserInterface(EntityUid owner, Enum uiKey) : BoundUserInterface(owner, uiKey) +public sealed class ResearchConsoleBoundUserInterface : BoundUserInterface { [ViewVariables] private ResearchConsoleMenu? _consoleMenu; + public ResearchConsoleBoundUserInterface(EntityUid owner, Enum uiKey) : base(owner, uiKey) + { + } + protected override void Open() { base.Open(); - _consoleMenu = this.CreateWindow(); - _consoleMenu.SetEntity(Owner); + var owner = Owner; - _consoleMenu.OnTechnologyRediscoverPressed += () => - { - SendMessage(new ConsoleRediscoverTechnologyMessage()); - }; + _consoleMenu = this.CreateWindow(); + _consoleMenu.SetEntity(owner); _consoleMenu.OnTechnologyCardPressed += id => { @@ -55,7 +56,6 @@ public sealed class ResearchConsoleBoundUserInterface(EntityUid owner, Enum uiKe if (state is not ResearchConsoleBoundInterfaceState castState) return; - _consoleMenu?.UpdatePanels(castState); _consoleMenu?.UpdateInformationPanel(castState); } diff --git a/Content.Client/Research/UI/ResearchConsoleMenu.xaml b/Content.Client/Research/UI/ResearchConsoleMenu.xaml index 8e3a74f933..8de9827c0c 100644 --- a/Content.Client/Research/UI/ResearchConsoleMenu.xaml +++ b/Content.Client/Research/UI/ResearchConsoleMenu.xaml @@ -1,4 +1,4 @@ -