mirror of https://github.com/mpv-player/mpv
lua: remove redundant call
This commit is contained in:
parent
89c1525585
commit
0c5fd5a047
|
@ -190,7 +190,6 @@ local function add_binding(attrs, key, name, fn, rp)
|
|||
key_bindings[name] = attrs
|
||||
update_key_bindings()
|
||||
dispatch_key_bindings[name] = key_cb
|
||||
mp.unregister_script_message(name)
|
||||
mp.register_script_message(name, msg_cb)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue