diff --git a/main.js b/main.js index ae900ba..ceb8e7b 100644 --- a/main.js +++ b/main.js @@ -2485,7 +2485,7 @@ let category = points[getCpNumberFromOption(option)].categories.find(category => category.cat_id === catId) if (category && category.pivot.bonus_time == "0") { let stage = parseInt(category.pivot.stage) - option.style['background-color'] = stageColors[stage % stageColors.length - 1] + option.style['background-color'] = stageColors[(stage - 1) % stageColors.length] } } })()