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

This commit is contained in:
Morb
2023-12-16 19:37:31 +01:00
committed by Debug
parent 867f873c9c
commit 5cb0fb4295
@@ -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);
}