Skip to content

Commit

Permalink
fix TeamResultsMenu indexing
Browse files Browse the repository at this point in the history
  • Loading branch information
audinowho committed May 4, 2024
1 parent 49812e1 commit f2b4087
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RogueEssence/Menu/Records/TeamResultsMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ protected override EventedList<Character> GetChars()
{
if (!Ending.ActiveTeam.Assembly[ii].Absentee)
{
if (Page * 4 <= ii && ii < (Page + 1) * 4)
if (Page * 4 <= trueIdx && trueIdx < (Page + 1) * 4)
{
characters.Add(Ending.ActiveTeam.Assembly[ii]);
if (characters.Count == 4)
Expand Down

0 comments on commit f2b4087

Please sign in to comment.