From 39bf47d97130cf4c3d6d3e429af87c5972a2a98e Mon Sep 17 00:00:00 2001 From: deltanedas <@deltanedas:kde.org> Date: Tue, 7 Jan 2025 17:02:28 +0000 Subject: [PATCH] change return to continue --- Content.Server/Silicons/StationAi/StationAiSystem.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Server/Silicons/StationAi/StationAiSystem.cs b/Content.Server/Silicons/StationAi/StationAiSystem.cs index 9c15112b305..054712059e4 100644 --- a/Content.Server/Silicons/StationAi/StationAiSystem.cs +++ b/Content.Server/Silicons/StationAi/StationAiSystem.cs @@ -43,10 +43,10 @@ private void OnExpandICChatRecipients(ExpandICChatRecipientsEvent ev) var stationAiCore = new Entity(ent, entStationAiCore); if (!TryGetInsertedAI(stationAiCore, out var insertedAi) || !TryComp(insertedAi, out ActorComponent? actor)) - return; + continue; if (stationAiCore.Comp.RemoteEntity == null || stationAiCore.Comp.Remote) - return; + continue; var xform = Transform(stationAiCore.Comp.RemoteEntity.Value);