From: Princess Cheeseballs <66055347+Princess-Cheeseballs@users.noreply.github.com> Date: Fri, 26 Dec 2025 07:41:27 +0000 (-0800) Subject: Fix Kitchen Spike Paralysis by removing an unused subscription. (#42078) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=8b33f4734f4e53166948bbe06d50290605423955;p=space-station-14.git Fix Kitchen Spike Paralysis by removing an unused subscription. (#42078) * remove * ACK ACK ACK ACK --------- Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com> --- diff --git a/Content.Shared/Kitchen/SharedKitchenSpikeSystem.cs b/Content.Shared/Kitchen/SharedKitchenSpikeSystem.cs index 7e7dbd744e..938aefc601 100644 --- a/Content.Shared/Kitchen/SharedKitchenSpikeSystem.cs +++ b/Content.Shared/Kitchen/SharedKitchenSpikeSystem.cs @@ -70,7 +70,6 @@ public sealed class SharedKitchenSpikeSystem : EntitySystem // Prevent the victim from doing anything while on the spike. SubscribeLocalEvent(OnAttempt); - SubscribeLocalEvent(OnAttempt); SubscribeLocalEvent(OnAttempt); SubscribeLocalEvent(OnAttempt); SubscribeLocalEvent(OnAttempt); diff --git a/Content.Shared/Movement/Events/UpdateCanMoveEvent.cs b/Content.Shared/Movement/Events/UpdateCanMoveEvent.cs index d9772c1cf4..3efeaeaf4c 100644 --- a/Content.Shared/Movement/Events/UpdateCanMoveEvent.cs +++ b/Content.Shared/Movement/Events/UpdateCanMoveEvent.cs @@ -1,11 +1,17 @@ +using Content.Shared.ActionBlocker; using Content.Shared.Movement.Components; namespace Content.Shared.Movement.Events; /// -/// Raised whenever needs to be updated. Cancel this event to prevent a -/// mover from moving. +/// Raised whenever needs to be updated. +/// Cancel this event to prevent a mover from moving. /// +/// +/// This is not an attempt event and the result is cached. +/// If you subscribe to this you must also call +/// both when you want to prevent a mob from moving, and when you want to allow them to move again! +/// public sealed class UpdateCanMoveEvent : CancellableEntityEventArgs { public UpdateCanMoveEvent(EntityUid uid)