From dfa73db9033628e3fee25f9f0649efe7ef6ee1f3 Mon Sep 17 00:00:00 2001 From: TheGrimbeeper Date: Tue, 24 Dec 2024 09:48:32 +1100 Subject: [PATCH] Allow handheld artifacts to animate themselves --- .../XenoArtifacts/Effects/Systems/AnimateArtifactSystem.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Content.Server/_Impstation/Xenoarchaeology/XenoArtifacts/Effects/Systems/AnimateArtifactSystem.cs b/Content.Server/_Impstation/Xenoarchaeology/XenoArtifacts/Effects/Systems/AnimateArtifactSystem.cs index 88471759dc5342..c1efb97fea9da3 100644 --- a/Content.Server/_Impstation/Xenoarchaeology/XenoArtifacts/Effects/Systems/AnimateArtifactSystem.cs +++ b/Content.Server/_Impstation/Xenoarchaeology/XenoArtifacts/Effects/Systems/AnimateArtifactSystem.cs @@ -26,7 +26,8 @@ private void OnActivated(EntityUid uid, AnimateArtifactComponent component, Arti { // Get a list of all nearby objects in range - HashSet entsHash = _lookup.GetEntitiesInRange(uid, component.Range); + var entsHash = _lookup.GetEntitiesInRange(uid, component.Range); + entsHash.Add(uid); var numSuccessfulAnimates = 0; var unshuffledEnts = entsHash.ToList();