Skip to content

Commit

Permalink
Update HolopadSystem.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Roudenn committed Jan 25, 2025
1 parent 8f8f4dd commit cc6b03a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Content.Server/Holopad/HolopadSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ private void LinkHolopadToUser(Entity<HolopadComponent> entity, EntityUid? user)
entity.Comp.User = (user.Value, holopadUser);
}

// Add the new user to PVS and sync their appearance with any
// Add the new user to PVS and sync their appearance with any
// holopads connected to the one they are using
_pvs.AddGlobalOverride(user.Value);
SyncHolopadHologramAppearanceWithTarget(entity, entity.Comp.User);
Expand Down Expand Up @@ -577,7 +577,7 @@ private void SyncHolopadHologramAppearanceWithTarget(Entity<HolopadComponent> en
continue;

if (user == null)
_appearanceSystem.SetData(linkedHolopad.Comp.Hologram.Value.Owner, TypingIndicatorVisuals.IsTyping, false);
_appearanceSystem.SetData(linkedHolopad.Comp.Hologram.Value.Owner, TypingIndicatorVisuals.State, false);

linkedHolopad.Comp.Hologram.Value.Comp.LinkedEntity = user;
Dirty(linkedHolopad.Comp.Hologram.Value);
Expand Down

0 comments on commit cc6b03a

Please sign in to comment.