From: themias <89101928+themias@users.noreply.github.com> Date: Thu, 25 Jul 2024 05:23:52 +0000 (-0400) Subject: Fix Ripley control panel (#30325) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=b0cc97fb0429e5316d960c674c635e4b5683c2e6;p=space-station-14.git Fix Ripley control panel (#30325) --- diff --git a/Content.Client/Mech/Ui/MechMenu.xaml.cs b/Content.Client/Mech/Ui/MechMenu.xaml.cs index 6f39bc386e..7ce863b7cd 100644 --- a/Content.Client/Mech/Ui/MechMenu.xaml.cs +++ b/Content.Client/Mech/Ui/MechMenu.xaml.cs @@ -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? OnRemoveButtonPressed; @@ -25,6 +25,7 @@ public sealed partial class MechMenu : FancyWindow public void SetEntity(EntityUid uid) { MechView.SetEntity(uid); + _mech = uid; } public void UpdateMechStats()