From 65ff527f137e13a30e2279d24f72c19296fae0bd Mon Sep 17 00:00:00 2001 From: beck-thompson <107373427+beck-thompson@users.noreply.github.com> Date: Sat, 26 Apr 2025 13:56:18 -0700 Subject: [PATCH] Fix inflatable barriers finishing instantly if canceled! (#36937) Fix --- .../Engineering/Systems/DisassembleOnAltVerbSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Shared/Engineering/Systems/DisassembleOnAltVerbSystem.cs b/Content.Shared/Engineering/Systems/DisassembleOnAltVerbSystem.cs index f64f2465dd..150688d3d4 100644 --- a/Content.Shared/Engineering/Systems/DisassembleOnAltVerbSystem.cs +++ b/Content.Shared/Engineering/Systems/DisassembleOnAltVerbSystem.cs @@ -50,7 +50,7 @@ public sealed partial class DisassembleOnAltVerbSystem : EntitySystem private void OnDisassembleDoAfter(Entity entity, ref DisassembleDoAfterEvent args) { - if (!_net.IsServer) // This is odd but it works :) + if (!_net.IsServer || args.Cancelled) // This is odd but it works :) return; if (TrySpawnNextTo(entity.Comp.PrototypeToSpawn, entity.Owner, out var spawnedEnt))