diff options
author | sinanmohd <sinan@sinanmohd.com> | 2023-10-01 12:28:23 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2023-10-01 12:28:23 +0530 |
commit | 861453ac25d3a5476dd8dc0e1bbe48874d8567af (patch) | |
tree | b33a08a1f77b84660d17d1fe5e08e312d8971945 | |
parent | c8f520d56ded2e67a0c199d6b7e35f256bfae08e (diff) |
mpv: clean up
-rw-r--r-- | main.lua | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -67,11 +67,9 @@ local sub_setup = function () end local file_listener = function () - if not sub_needed() then - return + if sub_needed() then + sub_setup() end - - sub_setup() end mp.register_event('file-loaded', file_listener) |