From 8c27322f25fba6697be0c0a4527f71743b9b83cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Alves?= Date: Wed, 31 Aug 2022 13:27:30 +0100 Subject: [PATCH] Fix: Portable Flasher (#10726) --- Content.Server/Flash/FlashSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/Flash/FlashSystem.cs b/Content.Server/Flash/FlashSystem.cs index 4a1803edbc..c5784f2b94 100644 --- a/Content.Server/Flash/FlashSystem.cs +++ b/Content.Server/Flash/FlashSystem.cs @@ -165,7 +165,7 @@ namespace Content.Server.Flash foreach (var entity in flashableEntities) { // Check for unobstructed entities while ignoring the mobs with flashable components. - if (!_interactionSystem.InRangeUnobstructed(entity, mapPosition, range, CollisionGroup.Opaque, (e) => flashableEntities.Contains(e))) + if (!_interactionSystem.InRangeUnobstructed(entity, mapPosition, range, CollisionGroup.Opaque, (e) => flashableEntities.Contains(e) || e == source)) continue; // They shouldn't have flash removed in between right?