Fix set target zoom data field for ContentEye (#22292)
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue