diff --git a/player/lua/options.lua b/player/lua/options.lua index ca1de400f9..6e53c2c48a 100644 --- a/player/lua/options.lua +++ b/player/lua/options.lua @@ -31,11 +31,10 @@ end function read_options(options, identifier) - msg.debug("reading options for " .. identifier) - if identifier == nil then identifier = mp.get_script_name() end + msg.debug("reading options for " .. identifier) -- read config file local conffilename = "lua-settings/" .. identifier .. ".conf"