Skip to content

Commit

Permalink
fix holopads for ai for real (#2640)
Browse files Browse the repository at this point in the history
change return to continue

Co-authored-by: deltanedas <@deltanedas:kde.org>
  • Loading branch information
deltanedas authored Jan 7, 2025
1 parent 74544c3 commit a28dba9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Content.Server/Silicons/StationAi/StationAiSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ private void OnExpandICChatRecipients(ExpandICChatRecipientsEvent ev)
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);

Expand Down

0 comments on commit a28dba9

Please sign in to comment.