[HOTFIX] fix holopads with multiple ai cores dying (#34289)

change return to continue

Co-authored-by: deltanedas <@deltanedas:kde.org>
This commit is contained in:
deltanedas
2025-01-12 17:19:58 +00:00
committed by GitHub
parent 8f4c49a41a
commit ccff52a72f

View File

@@ -43,10 +43,10 @@ public sealed class StationAiSystem : SharedStationAiSystem
var stationAiCore = new Entity<StationAiCoreComponent>(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);