@@ -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);
|
||||
}
|
||||
|
||||
@@ -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}!
|
||||
Reference in New Issue
Block a user