From: deltanedas <39013340+deltanedas@users.noreply.github.com> Date: Thu, 28 Dec 2023 03:06:45 +0000 (+0000) Subject: allow crusher suicide (#22987) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=62a6a03cd1f341bb975729e3c4bda6b22a9604b3;p=space-station-14.git allow crusher suicide (#22987) Co-authored-by: deltanedas <@deltanedas:kde.org> --- 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