JD-pyprocgame
JD-pyprocgame copied to clipboard
Outer loop champ score always one too few
The outer loop champ score is always one less than it should because jd_modes.sw_leftRollover_active() checks if the current streak beats the previous best streak before it increments the number of loops.
In jd_modes.sw_topRightOpto_active() a very similar algorithm for inner loops is implemented correctly. In that method, the number of inner loops is incremented before it is compared to the best streak.