Fixed issues that caused maps to load and display in between rounds.
This commit is contained in:
parent
e96941060f
commit
0b3fc5c08b
@ -208,7 +208,7 @@ public class CaseVideoSyncPlayer : UdonSharpBehaviour
|
||||
int MapPage = SubMapIndex / IMAGES_PER_MAP_ATLAS;
|
||||
if (MapPage == _MapDownloadIndex)
|
||||
{
|
||||
UpdateMap(false);
|
||||
_MapScreenMaterial.SetTexture("_EmissionMap", _MapImages[MapPage]);
|
||||
}
|
||||
|
||||
_MapDownloadIndex++;
|
||||
@ -266,10 +266,10 @@ public class CaseVideoSyncPlayer : UdonSharpBehaviour
|
||||
}
|
||||
|
||||
_MapScreenMaterial.SetTexture("_EmissionMap", _MapImages[MapPage]);
|
||||
ShowScreen = ClueScreenType.Map;
|
||||
|
||||
if (SyncResult)
|
||||
{
|
||||
ShowScreen = ClueScreenType.Map;
|
||||
RequestSerialization();
|
||||
}
|
||||
}
|
||||
@ -549,7 +549,7 @@ public class CaseVideoSyncPlayer : UdonSharpBehaviour
|
||||
set
|
||||
{
|
||||
_FlashCorrectAnswer = value;
|
||||
if (_FlashCorrectAnswer) NextCorrectAnswerFrame();
|
||||
NextCorrectAnswerFrame();
|
||||
RequestSerialization();
|
||||
}
|
||||
get => _FlashCorrectAnswer;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user