This commit is contained in:
_nebula 2023-05-12 23:14:06 +01:00
parent c763c24bd5
commit be290339c2
2 changed files with 7 additions and 0 deletions

View File

@ -516,6 +516,9 @@ internal class CustomNomaiRemoteCameraPlatform : NomaiShared
private void SwitchToPlayerCamera()
{
// does nothing except run CCU's prefix
_oldPlatform.SwitchToPlayerCamera();
if (_slavePlatform._visualSector != null)
{
if (!_alreadyOccupiedSectors.Contains(_slavePlatform._visualSector))

View File

@ -28,6 +28,10 @@ internal class PoolPatches : QSBPatch
[HarmonyPatch(typeof(NomaiRemoteCameraPlatform), nameof(NomaiRemoteCameraPlatform.OnPedestalContact))]
public static bool NomaiRemoteCameraPlatform_OnPedestalContact() => false;
[HarmonyPrefix]
[HarmonyPatch(typeof(NomaiRemoteCameraStreaming), nameof(NomaiRemoteCameraPlatform.SwitchToPlayerCamera))]
public static bool NomaiRemoteCameraPlatform_SwitchToPlayerCamera() => false;
[HarmonyPrefix]
[HarmonyPatch(typeof(NomaiRemoteCameraStreaming), nameof(NomaiRemoteCameraStreaming.FixedUpdate))]
public static bool NomaiRemoteCameraStreaming_FixedUpdate() => false;