@@ -211,8 +211,11 @@ public sealed partial class MechSystem : SharedMechSystem
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var doAfterEventArgs = new DoAfterArgs(EntityManager, args.User, component.ExitDelay,
|
var doAfterEventArgs = new DoAfterArgs(EntityManager, args.User, component.ExitDelay, new MechExitEvent(), uid, target: uid)
|
||||||
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);
|
_doAfter.TryStartDoAfter(doAfterEventArgs);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,3 +17,5 @@ mech-energy-missing = Energy: MISSING
|
|||||||
mech-slot-display = Open Slots: {$amount}
|
mech-slot-display = Open Slots: {$amount}
|
||||||
|
|
||||||
mech-no-enter = You cannot pilot this.
|
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