From 62a6a03cd1f341bb975729e3c4bda6b22a9604b3 Mon Sep 17 00:00:00 2001 From: deltanedas <39013340+deltanedas@users.noreply.github.com> Date: Thu, 28 Dec 2023 03:06:45 +0000 Subject: [PATCH] allow crusher suicide (#22987) Co-authored-by: deltanedas <@deltanedas:kde.org> --- .../Xenoarchaeology/Equipment/Systems/ArtifactCrusherSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/Xenoarchaeology/Equipment/Systems/ArtifactCrusherSystem.cs b/Content.Server/Xenoarchaeology/Equipment/Systems/ArtifactCrusherSystem.cs index de417d087a..7d6f2785c6 100644 --- a/Content.Server/Xenoarchaeology/Equipment/Systems/ArtifactCrusherSystem.cs +++ b/Content.Server/Xenoarchaeology/Equipment/Systems/ArtifactCrusherSystem.cs @@ -41,7 +41,7 @@ public sealed class ArtifactCrusherSystem : SharedArtifactCrusherSystem if (!TryComp(ent, out var entityStorageComp) || entityStorageComp.Contents.ContainedEntities.Count == 0) return; - if (entityStorageComp.Contents.Contains(args.User) || !this.IsPowered(ent, EntityManager)) + if (!this.IsPowered(ent, EntityManager)) return; var verb = new AlternativeVerb -- 2.51.2