Skip to content

Commit

Permalink
Fix challenge 1 never being ran in autochallenge
Browse files Browse the repository at this point in the history
  • Loading branch information
Pseudonian committed Mar 21, 2021
1 parent cd522fb commit 4341b15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Challenges.ts
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ export const runChallengeSweep = (dt: number) => {
// This calculates which challenge this algorithm will run first, based on
// the first challenge which has automation toggled ON
let startChallenge = 1;
for (const item of player.autoChallengeToggles) {
for (const item of player.autoChallengeToggles.slice(1,10)) {
if (!item) startChallenge++;
else break;
}
Expand Down

0 comments on commit 4341b15

Please sign in to comment.