diff --git a/Content.Server/Mech/Systems/MechSystem.cs b/Content.Server/Mech/Systems/MechSystem.cs index b738d28b46..9da96a76f8 100644 --- a/Content.Server/Mech/Systems/MechSystem.cs +++ b/Content.Server/Mech/Systems/MechSystem.cs @@ -211,8 +211,11 @@ public sealed partial class MechSystem : SharedMechSystem return; } - var doAfterEventArgs = new DoAfterArgs(EntityManager, args.User, component.ExitDelay, - new MechExitEvent(), uid, target: uid); + var doAfterEventArgs = new DoAfterArgs(EntityManager, args.User, component.ExitDelay, new MechExitEvent(), uid, target: uid) + { + BreakOnMove = true, + }; + _popup.PopupEntity(Loc.GetString("mech-eject-pilot-alert", ("item", uid), ("user", args.User)), uid, PopupType.Large); _doAfter.TryStartDoAfter(doAfterEventArgs); } diff --git a/Resources/Locale/en-US/mech/mech.ftl b/Resources/Locale/en-US/mech/mech.ftl index 9d4f7ef0e0..7fac0387ed 100644 --- a/Resources/Locale/en-US/mech/mech.ftl +++ b/Resources/Locale/en-US/mech/mech.ftl @@ -17,3 +17,5 @@ mech-energy-missing = Energy: MISSING mech-slot-display = Open Slots: {$amount} mech-no-enter = You cannot pilot this. + +mech-eject-pilot-alert = {$user} is pulling the pilot out of the {$item}! \ No newline at end of file