You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The "false" entry in the child table caused iLen to be shorter than the actual length of the table. iLen is used to detect whether an integer indexed table has already been added.
In your case, there are 6 entries in the table, {P1_SubmissiveScoring, P1_PerColumnJudgment, false, P2_SubmissiveScoring, P2_PerColumnJudgment, false}
NodeNamesToAdd.size comes out to 4, and the names are 1, 2, 4, 5. 5 is greater than 4, so the code thought it was an entry past the end of the array, an entry that had not already been added.
f6e818a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Related stepmania commit: stepmania/stepmania@e056908
The "false" entry in the child table caused iLen to be shorter than the actual length of the table. iLen is used to detect whether an integer indexed table has already been added.
In your case, there are 6 entries in the table,
{P1_SubmissiveScoring, P1_PerColumnJudgment, false, P2_SubmissiveScoring, P2_PerColumnJudgment, false}
NodeNamesToAdd.size comes out to 4, and the names are 1, 2, 4, 5. 5 is greater than 4, so the code thought it was an entry past the end of the array, an entry that had not already been added.
So P2_PerColumnJudgment got duplicated.