From 35ee45b248279b8a77f079be4892a4f63e224a2c Mon Sep 17 00:00:00 2001 From: MODERN <87994977+modern-nm@users.noreply.github.com> Date: Sun, 23 Jun 2024 02:36:07 +0300 Subject: [PATCH] fix update console interface --- Content.Server/Research/Systems/ResearchSystem.Console.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Content.Server/Research/Systems/ResearchSystem.Console.cs b/Content.Server/Research/Systems/ResearchSystem.Console.cs index 92d171d9c74..8e0e4a012bd 100644 --- a/Content.Server/Research/Systems/ResearchSystem.Console.cs +++ b/Content.Server/Research/Systems/ResearchSystem.Console.cs @@ -38,12 +38,14 @@ private void OnConsoleUnlock(EntityUid uid, ResearchConsoleComponent component, if (!UnlockTechnology(uid, args.Id, ent)) return; + + /// try to fix in robust v224.0.0; thanks to languages /*var message = Loc.GetString("research-console-unlock-technology-radio-broadcast", ("technology", Loc.GetString(technologyPrototype.Name)), ("amount", technologyPrototype.Cost)); - _radio.SendRadioMessage(uid, message, component.AnnouncementChannel, uid); + _radio.SendRadioMessage(uid, message, component.AnnouncementChannel, uid);*/ SyncClientWithServer(uid); - UpdateConsoleInterface(uid, component);*/ + UpdateConsoleInterface(uid, component); } private void OnConsoleBeforeUiOpened(EntityUid uid, ResearchConsoleComponent component, BeforeActivatableUIOpenEvent args)