- Fixed a large number of simple sync issues during round 1.
- Fixed reset issues with round 2.
This commit is contained in:
@@ -111,7 +111,7 @@ public class CaseManager : UdonSharpBehaviour
|
||||
ErrorString = "Ensure the 'Round 3' dictionary entry is a dictionary with a key called 'Continent' and an integer value.";
|
||||
}
|
||||
|
||||
ContinueToRound3();
|
||||
ContinueToRound1();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -439,7 +439,8 @@ public class GameManagerRound1 : GameManagerBase
|
||||
int PodiumIndex = _BuzzedInPlayer - 1;
|
||||
if (PodiumIndex >= 0 && PodiumIndex < _PlayerPodiums.Length)
|
||||
{
|
||||
_PlayerPodiums[PodiumIndex].AdjustScore(5);
|
||||
_PlayerPodiums[PodiumIndex].SendCustomNetworkEvent(NetworkEventTarget.Owner,
|
||||
"AdjustScore", 5);
|
||||
}
|
||||
|
||||
EndBuzzInPeriod();
|
||||
@@ -536,7 +537,8 @@ public class GameManagerRound1 : GameManagerBase
|
||||
int PodiumIndex = _BuzzedInPlayer - 1;
|
||||
if (PodiumIndex >= 0 && PodiumIndex < _PlayerPodiums.Length)
|
||||
{
|
||||
_PlayerPodiums[PodiumIndex].AdjustScore(5);
|
||||
_PlayerPodiums[PodiumIndex].SendCustomNetworkEvent(NetworkEventTarget.Owner,
|
||||
"AdjustScore", 5);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1026,7 +1028,8 @@ public class GameManagerRound1 : GameManagerBase
|
||||
int PodiumIndex = _BuzzedInPlayer - 1;
|
||||
if (PodiumIndex >= 0 && PodiumIndex < _PlayerPodiums.Length)
|
||||
{
|
||||
_PlayerPodiums[PodiumIndex].AdjustScore(5);
|
||||
_PlayerPodiums[PodiumIndex].SendCustomNetworkEvent(NetworkEventTarget.Owner,
|
||||
"AdjustScore", 5);
|
||||
}
|
||||
|
||||
_BuzzedInPlayer = -1;
|
||||
|
||||
@@ -33,6 +33,12 @@ public class GameManagerRound2 : GameManagerBase
|
||||
{
|
||||
_StageIndex = 0;
|
||||
|
||||
LocationBoardReset();
|
||||
|
||||
// Make sure we have the correct interface up after the last function.
|
||||
HostCardBetweenRoundsInterface Interface =
|
||||
(HostCardBetweenRoundsInterface)GetHostCardInterface(RoundSegmentType.BetweenSegments);
|
||||
|
||||
base.InitialiseGameMode();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user