Fixed the round 1 video timer continuing to run when a video was skipped.

This commit is contained in:
2026-05-06 19:01:13 -04:00
parent 9aa4339e8c
commit e52ab0d43d
6 changed files with 946 additions and 277 deletions
@@ -429,6 +429,7 @@ public class GameManagerRound1 : GameManagerBase
HostCardBetweenRoundsInterface Interface =
(HostCardBetweenRoundsInterface)GetHostCardInterface(RoundSegmentType.BetweenSegments);
_CameraControllerRound1.DisableAllSwitchers();
_CameraControllerRound1.ActivateACMECrimenetComputerCamera();
string UntranslatedText = "";
@@ -512,7 +513,8 @@ public class GameManagerRound1 : GameManagerBase
{
HostCardBetweenRoundsInterface Interface =
(HostCardBetweenRoundsInterface)GetHostCardInterface(RoundSegmentType.BetweenSegments);
_CameraControllerRound1.DisableAllSwitchers();
_CameraControllerRound1.ActivateFilingCabinetCamera();
if (Presentation.ContainsKey("Clue Notes") && Presentation["Clue Notes"].TokenType == TokenType.DataList)
@@ -567,6 +569,8 @@ public class GameManagerRound1 : GameManagerBase
private void MultipleChoiceRevealQuestion()
{
_StopVideo();
_QuestionSubstage = 0;
_VideoPlayer.SubMapIndex = 0;
for (int i = 0; i < _PlayerPodiums.Length; i++)
@@ -1945,8 +1949,13 @@ public class GameManagerRound1 : GameManagerBase
_VideoPlayerTimer = _VideoPlayer.GetVideoDuration() - _CameraControllerRound1.HostToMonitorTimerToggle.GetTimeBetweenCuts(0);
}
private void _StopVideo()
{
_VideoPlayerTimer = -1.0f;
}
public void EndVideoPlayerCameraSwitch()
{
_StopVideo();
_CameraControllerRound1.ActivateHostAllPlayersCameraSwitcher();
}