Fixed a bug that caused tiebreaker clues to not clear when a new one is loaded.

This commit is contained in:
Jamie Greunbaum 2025-07-16 15:05:34 -04:00
parent 757f42a8ea
commit cf2da70229

View File

@ -966,6 +966,11 @@ public class GameManagerRound1 : GameManagerBase
Interface.HeaderUI.text = "Tiebreaker | " + RegionDictionary["Type"].String;
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;
for (int i = 0; i < KeyLocations.Count && i < Interface.CluesUI.Length; i++)
{