Fix set target zoom data field for ContentEye (#22292)

This commit is contained in:
Morb 2023-12-10 15:36:53 +03:00 committed by Debug
parent 867f873c9c
commit 5cb0fb4295
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ public abstract class SharedContentEyeSystem : EntitySystem
if (!TryComp<EyeComponent>(uid, out var eyeComp))
return;
component.TargetZoom = eyeComp.Zoom;
_eye.SetZoom(uid, component.TargetZoom, eyeComp);
Dirty(uid, component);
}