Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions InscryptionAPI/Ascension/AscensionChallengePaginator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public void AddPage(List<AscensionChallengeInfo> challengeInfos)
int numBossesAdded = 0;

// 14 = regular + boss * 2
Debug.Log($"NumIcons for Page: {numIcons}: {regularChallengeInfos.Count} {numBosses} | {bossStartingIndex}");
//Debug.Log($"NumIcons for Page: {numIcons}: {regularChallengeInfos.Count} {numBosses} | {bossStartingIndex}");

for (int i = 0; i < 14; i++)
{
Expand Down Expand Up @@ -130,10 +130,6 @@ public void AddPage(List<AscensionChallengeInfo> challengeInfos)
GameObject newIcon = CreateIconGameObject(objectRef, i);
newPage.Add(newIcon);
}

//if (newPage.Count >= numIcons) {
// break;
//}
}

newPage.Sort((x, x2) => Mathf.RoundToInt(
Expand Down Expand Up @@ -313,7 +309,7 @@ public void OnEnable()
}
});
pagesToAdd.Add(page.ConvertAll(x => x.Item2));
DebugChallengePageArray(pagesToAdd.Count, null, page.ConvertAll(x => x.Item2));
//DebugChallengePageArray(pagesToAdd.Count, null, page.ConvertAll(x => x.Item2));
}

challengeObjectsForPages.ForEach(x => x.RemoveAll(x => x == null));
Expand Down
Loading