- Camera at the end of The Chase now auto-switches to host/player view.

- The Chase now also ends itself when it's over.
This commit is contained in:
Jamie Greunbaum 2026-05-14 16:15:58 -04:00
parent edc90eba48
commit 7a233d9656

View File

@ -967,7 +967,9 @@ public class GameManagerRound1 : GameManagerBase
if (_QuestionSubstage >= CluesList.Count) if (_QuestionSubstage >= CluesList.Count)
{ {
_QuestionSubstage = 0; _QuestionSubstage = 0;
EnableInteraction("End The Chase");
SendCustomEventDelayedSeconds(nameof(_TheChase_AdvanceToNextQuestion), 2.0f);
DisableInteraction();
return; return;
} }
@ -1065,6 +1067,10 @@ public class GameManagerRound1 : GameManagerBase
_AudioManager.SendCustomNetworkEvent(NetworkEventTarget.All, _AudioManager.SendCustomNetworkEvent(NetworkEventTarget.All,
"PlaySFXAtPitch", SFXEventType.Ding, AudioManager.D6); "PlaySFXAtPitch", SFXEventType.Ding, AudioManager.D6);
} }
public void _TheChase_AdvanceToNextQuestion()
{
AdvanceToNextQuestion();
}
private void IntroduceFinalRound() private void IntroduceFinalRound()
@ -1083,6 +1089,13 @@ public class GameManagerRound1 : GameManagerBase
LoadMapsIntoQueue(); LoadMapsIntoQueue();
DataDictionary Presentation = _CurrentQuestion["Presentation"].DataDictionary;
if (Presentation.ContainsKey("Videos"))
{
DataList Videos = Presentation["Videos"].DataList;
_VideoPlayer.SetVideoIndex((int)Videos[_QuestionSubstage].Number);
}
EnableInteraction("Show Map Preview"); EnableInteraction("Show Map Preview");
} }
@ -1847,7 +1860,6 @@ public class GameManagerRound1 : GameManagerBase
case 2: MultipleChoiceRevealChoice1(); break; case 2: MultipleChoiceRevealChoice1(); break;
case 3: MultipleChoiceRevealChoice2(); break; case 3: MultipleChoiceRevealChoice2(); break;
case 4: MultipleChoiceRevealChoice3(); break; case 4: MultipleChoiceRevealChoice3(); break;
//case 5: MultipleChoiceLockAnswers(); break;
case 5: MultipleChoiceFocusOnPlayer(1); break; case 5: MultipleChoiceFocusOnPlayer(1); break;
case 6: MultipleChoiceFocusOnPlayer(2); break; case 6: MultipleChoiceFocusOnPlayer(2); break;
case 7: MultipleChoiceFocusOnPlayer(3); break; case 7: MultipleChoiceFocusOnPlayer(3); break;