* Reapply "Remove some BUI boilerplate" (#30214)
This reverts commit cb0ba66be3.
* Fix gas tank
* Fix PA
* Fix microwave
* Comms console underwrap
* Fix rcd
* log wehs
This commit is contained in:
@@ -18,15 +18,13 @@ public sealed partial class IntercomMenu : FancyWindow
|
||||
|
||||
private readonly List<string> _channels = new();
|
||||
|
||||
public IntercomMenu(Entity<IntercomComponent> entity)
|
||||
public IntercomMenu()
|
||||
{
|
||||
RobustXamlLoader.Load(this);
|
||||
IoCManager.InjectDependencies(this);
|
||||
|
||||
MicButton.OnPressed += args => OnMicPressed?.Invoke(args.Button.Pressed);
|
||||
SpeakerButton.OnPressed += args => OnSpeakerPressed?.Invoke(args.Button.Pressed);
|
||||
|
||||
Update(entity);
|
||||
}
|
||||
|
||||
public void Update(Entity<IntercomComponent> entity)
|
||||
|
||||
Reference in New Issue
Block a user