Fixed a bug that caused tiebreaker clues to not clear when a new one is loaded.
This commit is contained in:
parent
757f42a8ea
commit
cf2da70229
@ -966,6 +966,11 @@ public class GameManagerRound1 : GameManagerBase
|
|||||||
Interface.HeaderUI.text = "Tiebreaker | " + RegionDictionary["Type"].String;
|
Interface.HeaderUI.text = "Tiebreaker | " + RegionDictionary["Type"].String;
|
||||||
if (RegionDictionary["Key Locations"].TokenType == TokenType.DataList)
|
if (RegionDictionary["Key Locations"].TokenType == TokenType.DataList)
|
||||||
{
|
{
|
||||||
|
for (int i = 0; i < Interface.CluesUI.Length; i++)
|
||||||
|
{
|
||||||
|
Interface.CluesUI[i].text = "";
|
||||||
|
}
|
||||||
|
|
||||||
DataList KeyLocations = RegionDictionary["Key Locations"].DataList;
|
DataList KeyLocations = RegionDictionary["Key Locations"].DataList;
|
||||||
for (int i = 0; i < KeyLocations.Count && i < Interface.CluesUI.Length; i++)
|
for (int i = 0; i < KeyLocations.Count && i < Interface.CluesUI.Length; i++)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user