Skip to content

Commit 656a2b2

Browse files
committed
Fix #7: don't activate PCR on alt-c because that's meant for toggling iva overlay
1 parent 0452e54 commit 656a2b2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ProbeControlRoom/ProbeControlRoom.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,7 @@ public void LateUpdate()
590590
}
591591
else
592592
{
593+
// TODO: this triggers when trying to "return to seat" in FreeIva - how to avoid?
593594
stopIVA();
594595
}
595596
}
@@ -608,7 +609,7 @@ public void LateUpdate()
608609
else
609610
{
610611
// if pressing the camera mode (C) button and we either failed to enter IVA mode or just left it, then try to start PCR mode
611-
if (GameSettings.CAMERA_MODE.GetKeyDown() && CameraManager.Instance.currentCameraMode == CameraManager.CameraMode.Flight)
612+
if (!GameSettings.MODIFIER_KEY.GetKey() && GameSettings.CAMERA_MODE.GetKeyDown() && CameraManager.Instance.currentCameraMode == CameraManager.CameraMode.Flight)
612613
{
613614
// If we were previously in IVA mode and pressing C switched to Flight, the portrait gallery will have spun up a coroutine to refresh itself
614615
// which interferes with which internal spaces are shown or hidden. Stop it from doing that.

0 commit comments

Comments
 (0)