Skip to content

Commit

Permalink
Fix set target zoom data field for ContentEye (space-wizards#22292)
Browse files Browse the repository at this point in the history
  • Loading branch information
Morb0 authored Dec 10, 2023
1 parent 88de2e8 commit f6b47b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Content.Shared/Movement/Systems/SharedContentEyeSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ private void OnContentEyeStartup(EntityUid uid, ContentEyeComponent component, C
if (!TryComp<EyeComponent>(uid, out var eyeComp))
return;

component.TargetZoom = eyeComp.Zoom;
_eye.SetZoom(uid, component.TargetZoom, eyeComp);
Dirty(uid, component);
}

Expand Down

0 comments on commit f6b47b3

Please sign in to comment.