From: beck-thompson <107373427+beck-thompson@users.noreply.github.com> Date: Sat, 26 Apr 2025 20:56:18 +0000 (-0700) Subject: Fix inflatable barriers finishing instantly if canceled! (#36937) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=65ff527f137e13a30e2279d24f72c19296fae0bd;p=space-station-14.git Fix inflatable barriers finishing instantly if canceled! (#36937) Fix --- 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))