minor fix

This commit is contained in:
jacob1 2018-12-30 13:49:00 -05:00
parent 08c22031e2
commit 2d838087b5

View File

@ -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