From 3d94d0565c05bd3dfe01f759c95fcd867e383c86 Mon Sep 17 00:00:00 2001 From: ZHL <45361542+zhliau@users.noreply.github.com> Date: Mon, 19 Aug 2024 23:29:04 -0400 Subject: [PATCH] Set CurrentPlayer on freecam script so we don't attempt to snap to other players on dedicated client raid start if allowSpectateFreeCam is disabled, to preserve the dedicated cam overhead position --- Fika.Dedicated/Classes/DedicatedRaidController.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Fika.Dedicated/Classes/DedicatedRaidController.cs b/Fika.Dedicated/Classes/DedicatedRaidController.cs index 333f344..e3376c2 100644 --- a/Fika.Dedicated/Classes/DedicatedRaidController.cs +++ b/Fika.Dedicated/Classes/DedicatedRaidController.cs @@ -78,6 +78,7 @@ public void FindNewPlayer() { freeCameraController.ToggleCamera(); } + freeCam.SetCurrentPlayer(targetPlayer); freeCam.AttachDedicated(targetPlayer); return; }