Speed up observers (#18264)

This commit is contained in:
Pieter-Jan Briers
2023-07-25 02:33:01 +02:00
committed by GitHub
parent 88eaf7a772
commit 28fff33b54
4 changed files with 12 additions and 6 deletions

View File

@@ -64,7 +64,7 @@ public sealed partial class ReplaySpectatorSystem
var old = _player.LocalPlayer.ControlledEntity;
var ent = Spawn("MobObserver", coords);
var ent = Spawn("ReplayObserver", coords);
_eye.SetMaxZoom(ent, Vector2.One * 5);
EnsureComp<ReplaySpectatorComponent>(ent);