From 3c9ada95af83e31e297566ba1129162de0bb5650 Mon Sep 17 00:00:00 2001 From: JimWails <1142247734@qq.com> Date: Sat, 8 Jun 2024 03:24:33 +0800 Subject: [PATCH] Fix FreeCamere not enter after extract Fix FreeCamere not enter after extract --- Source/Coop/FreeCamera/FreeCameraController.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Source/Coop/FreeCamera/FreeCameraController.cs b/Source/Coop/FreeCamera/FreeCameraController.cs index eaac6165..97cfe527 100644 --- a/Source/Coop/FreeCamera/FreeCameraController.cs +++ b/Source/Coop/FreeCamera/FreeCameraController.cs @@ -9,7 +9,6 @@ using StayInTarkov.Configuration; using StayInTarkov.Coop.Components.CoopGameComponents; using StayInTarkov.Coop.Players; -using StayInTarkov.Coop.SITGameModes; using System; using System.Collections; using UnityEngine; @@ -140,9 +139,6 @@ public void Update() if (!SITGameComponent.TryGetCoopGameComponent(out SITGameComponent coopGC)) return; - CoopSITGame coopGame = (CoopSITGame) coopGC.LocalGameInstance; - if (coopGame == null) - return; var quitState = coopGC.GetQuitState(); if (Player.PlayerHealthController.IsAlive &&