1
0
Fork 0

kbmulti: remove unnecessary `if`

master
Rob Pilling 2024-04-20 12:01:39 +01:00
parent f70ac9aa40
commit c2a5d2517a
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ exports.input = function(options) {
deactivateTimeout(charTimeout);
if (textIndex > -1){
text = text.slice(0, textIndex) + text.slice(textIndex + 1);
if (textIndex > -1) textIndex --;
textIndex--;
newCharacter();
}
}