From 690f498819b7ee540c73cc6f4b73909656e5d260 Mon Sep 17 00:00:00 2001 From: Tau Date: Mon, 22 Apr 2019 00:34:57 -0400 Subject: [PATCH] Fix initial TA challenges --- src/idz/encoder/loadProfile2.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/idz/encoder/loadProfile2.ts b/src/idz/encoder/loadProfile2.ts index 02cadb3..3282ab0 100644 --- a/src/idz/encoder/loadProfile2.ts +++ b/src/idz/encoder/loadProfile2.ts @@ -13,6 +13,9 @@ export function loadProfile2(res: LoadProfileResponse2) { //buf.fill(0xff, 0x0000, 0x08f4); //buf.fill(0xff, 0x0c20, 0x0c2a); + // Initialize all TA grades to Bronze + buf.fill(4, 0x0680, 0x06a0); + for (const score of res.timeAttack) { const { courseId } = score;