From 8b33f4734f4e53166948bbe06d50290605423955 Mon Sep 17 00:00:00 2001 From: Princess Cheeseballs <66055347+Princess-Cheeseballs@users.noreply.github.com> Date: Thu, 25 Dec 2025 23:41:27 -0800 Subject: [PATCH] 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> --- Content.Shared/Kitchen/SharedKitchenSpikeSystem.cs | 1 - Content.Shared/Movement/Events/UpdateCanMoveEvent.cs | 10 ++++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) 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) -- 2.52.0