minor fix
This commit is contained in:
parent
08c22031e2
commit
2d838087b5
@ -220,6 +220,6 @@ function tpt.unregister_keypress(f)
|
||||
local funcs = registered_keypresses[f]
|
||||
event.unregister(event.keypress, funcs[1])
|
||||
event.unregister(event.keyrelease, funcs[2])
|
||||
registered_mouseclicks[f] = nil
|
||||
registered_keypresses[f] = nil
|
||||
end
|
||||
tpt.unregister_keyevent = tpt.unregister_keypress
|
||||
|
Loading…
Reference in New Issue
Block a user