* 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:
@@ -16,14 +16,15 @@ public sealed partial class MechMenu : FancyWindow
|
||||
|
||||
public event Action<EntityUid>? OnRemoveButtonPressed;
|
||||
|
||||
public MechMenu(EntityUid mech)
|
||||
public MechMenu()
|
||||
{
|
||||
RobustXamlLoader.Load(this);
|
||||
IoCManager.InjectDependencies(this);
|
||||
}
|
||||
|
||||
_mech = mech;
|
||||
|
||||
MechView.SetEntity(mech);
|
||||
public void SetEntity(EntityUid uid)
|
||||
{
|
||||
MechView.SetEntity(uid);
|
||||
}
|
||||
|
||||
public void UpdateMechStats()
|
||||
|
||||
Reference in New Issue
Block a user