From 263a540e7ad885c559951796e0f58dc141a5d95f Mon Sep 17 00:00:00 2001 From: sctanf <36978460+sctanf@users.noreply.github.com> Date: Tue, 17 Jan 2023 20:09:03 -0600 Subject: [PATCH] Update PhotonicFreedom.cs --- PhotonicFreedom.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/PhotonicFreedom.cs b/PhotonicFreedom.cs index ea187e2..ff40f4d 100644 --- a/PhotonicFreedom.cs +++ b/PhotonicFreedom.cs @@ -502,6 +502,7 @@ public static void OnCommonUpdate_Postfix(ScreenModeController __instance) if (mainCam != UnityEngine.Camera.main && UnityEngine.Camera.main != null) { Msg("Resetting Camera"); + mainCam = UnityEngine.Camera.main; OutputDeviceChanged = false; Bootstrap(); }