From 4341b15b974b11febb4f489b7760f4823667b368 Mon Sep 17 00:00:00 2001 From: Pseudonian Date: Sun, 21 Mar 2021 01:20:42 -0400 Subject: [PATCH] Fix challenge 1 never being ran in autochallenge --- src/Challenges.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Challenges.ts b/src/Challenges.ts index 066e8b3da..04ea54e61 100644 --- a/src/Challenges.ts +++ b/src/Challenges.ts @@ -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; }