Resolved issue with keyboard hook getting removed

This commit is contained in:
PhatDave
2021-10-28 18:20:01 +02:00
parent 50204a606d
commit 8551c0c5b0
2 changed files with 9 additions and 4 deletions

View File

@@ -241,10 +241,9 @@ WhitelistButtonUI() {
}
WhitelistKeys(string) {
whitelistKeys := Array()
for k, v in StrSplit(string, "|") {
if (v != "a" and v != "s" and v != "d" and v != "w" and v != "enter" and v != "escape") {
whitelistKeys[v] := 1
}
whitelistKeys[v] := 1
}
}