Skip to content

Commit

Permalink
fix update console interface
Browse files Browse the repository at this point in the history
  • Loading branch information
modern-nm committed Jun 22, 2024
1 parent 61707fe commit 35ee45b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Content.Server/Research/Systems/ResearchSystem.Console.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 35ee45b

Please sign in to comment.