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
This commit is contained in:
Estebene 2021-12-20 04:41:15 +13:00 committed by GitHub
parent f1bcc7b7f6
commit d6d64366e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 === "") {