diff --git a/js/technical/displays.js b/js/technical/displays.js index c7b1052..1cff14a 100644 --- a/js/technical/displays.js +++ b/js/technical/displays.js @@ -27,12 +27,12 @@ function constructNodeStyle(layer){ function challengeStyle(layer, id) { if (player[layer].activeChallenge == id && canCompleteChallenge(layer, id)) return "canComplete" - else if (hasChallenge(layer, id)) return "done" + else if (maxedChallenge(layer, id)) return "done" return "locked" } function challengeButtonText(layer, id) { - return (player[layer].activeChallenge==(id)?(canCompleteChallenge(layer, id)?"Finish":"Exit Early"):(hasChallenge(layer, id)?"Completed":"Start")) + return (player[layer].activeChallenge==(id)?(canCompleteChallenge(layer, id)?"Finish":"Exit Early"):(maxedChallenge(layer, id)?"Completed":"Start")) }