Fixed the round 1 video timer continuing to run when a video was skipped.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user