Fixed web PPT hook

Signed-off-by: WolverinDEV <git@teaspeak.de>
This commit is contained in:
WolverinDEV 2019-12-03 17:19:14 +01:00
parent 9dcb5921df
commit 53a4cf8490
No known key found for this signature in database
GPG key ID: 77A6C15085150EEB

View file

@ -82,7 +82,8 @@ namespace ppt {
current_state.special[SpecialKey.WINDOWS] = false;
for(const code of Object.keys(current_state))
delete current_state[code];
if(code !== "special")
delete current_state[code];
for(const hook of key_hooks_active)
hook.callback_release();