From f1d3f059febd09fc63ea6a8f5636a8a7f67e4434 Mon Sep 17 00:00:00 2001 From: themias <89101928+themias@users.noreply.github.com> Date: Wed, 24 May 2023 13:30:08 -0400 Subject: [PATCH] Fix mice getting trapped in potted plants (#16745) --- Content.Server/Resist/EscapeInventorySystem.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Content.Server/Resist/EscapeInventorySystem.cs b/Content.Server/Resist/EscapeInventorySystem.cs index 43012d8b7e..77a837587a 100644 --- a/Content.Server/Resist/EscapeInventorySystem.cs +++ b/Content.Server/Resist/EscapeInventorySystem.cs @@ -9,6 +9,7 @@ using Content.Shared.DoAfter; using Content.Shared.Movement.Events; using Content.Shared.Interaction.Events; using Content.Shared.Resist; +using Content.Server.Storage.Components; namespace Content.Server.Resist; @@ -59,7 +60,7 @@ public sealed class EscapeInventorySystem : EntitySystem } // Uncontested - if (HasComp(container.Owner) || HasComp(container.Owner)) + if (HasComp(container.Owner) || HasComp(container.Owner) || HasComp(container.Owner)) AttemptEscape(uid, container.Owner, component); }