From 3d46a62f5ecf466230d80aa108fcbc97e61f30d0 Mon Sep 17 00:00:00 2001 From: KashRas2 Date: Wed, 11 Dec 2024 22:04:34 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BE=D0=B9=D0=BE=D0=B9=D0=BE=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Content.Shared/ADT/Crawling/Systems/SharedCrawlingSystem.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Content.Shared/ADT/Crawling/Systems/SharedCrawlingSystem.cs b/Content.Shared/ADT/Crawling/Systems/SharedCrawlingSystem.cs index c253aa22c54..20325cca1dd 100644 --- a/Content.Shared/ADT/Crawling/Systems/SharedCrawlingSystem.cs +++ b/Content.Shared/ADT/Crawling/Systems/SharedCrawlingSystem.cs @@ -80,13 +80,11 @@ private void OnDoAfter(EntityUid uid, CrawlerComponent component, CrawlStandupDo if (args.Cancelled) return; - var stunTime = component.DefaultStunTime; - foreach (var item in _lookup.GetEntitiesInRange(Transform(uid).Coordinates, 0.25f)) { if (HasComp(item)) { - TableVictim(uid, component) + TableVictim(uid, component); return; } }