mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
Fix mice getting trapped in potted plants (#16745)
This commit is contained in:
parent
f41795242a
commit
f1d3f059fe
1 changed files with 2 additions and 1 deletions
|
|
@ -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<SharedStorageComponent>(container.Owner) || HasComp<InventoryComponent>(container.Owner))
|
||||
if (HasComp<SharedStorageComponent>(container.Owner) || HasComp<InventoryComponent>(container.Owner) || HasComp<SecretStashComponent>(container.Owner))
|
||||
AttemptEscape(uid, container.Owner, component);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue