From d6d64366e5780557652a93368eb65498edc2e347 Mon Sep 17 00:00:00 2001 From: Estebene <49330942+Estebene@users.noreply.github.com> Date: Mon, 20 Dec 2021 04:41:15 +1300 Subject: [PATCH] Added functionality so that you fail on incorrect opposite shift for master and expert mode (#2190) by Estebene * Added fail on incorrect opposite shift for master and expert mode * Changed so the test only fails on master mode --- src/js/input-controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/input-controller.js b/src/js/input-controller.js index 27562c508..b854e017a 100644 --- a/src/js/input-controller.js +++ b/src/js/input-controller.js @@ -428,7 +428,7 @@ function handleChar(char, charIndex) { } } - if (!correctShiftUsed) return; + if (!correctShiftUsed && Config.difficulty != "master") return; //update current corrected version. if its empty then add the current char. if its not then replace the last character with the currently pressed one / add it if (TestLogic.corrected.current === "") {