Skip to content

Commit

Permalink
Fix Ripley control panel (space-wizards#30325)
Browse files Browse the repository at this point in the history
  • Loading branch information
themias authored Jul 25, 2024
1 parent 0d12ce5 commit b0cc97f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Content.Client/Mech/Ui/MechMenu.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public sealed partial class MechMenu : FancyWindow
{
[Dependency] private readonly IEntityManager _ent = default!;

private readonly EntityUid _mech;
private EntityUid _mech;

public event Action<EntityUid>? OnRemoveButtonPressed;

Expand All @@ -25,6 +25,7 @@ public MechMenu()
public void SetEntity(EntityUid uid)
{
MechView.SetEntity(uid);
_mech = uid;
}

public void UpdateMechStats()
Expand Down

0 comments on commit b0cc97f

Please sign in to comment.