mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-31 19:51:45 +02:00
minor fix
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user