mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-29 23:57:29 +00:00
Fix set target zoom data field for ContentEye (#22292)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user