summaryrefslogtreecommitdiffstats
path: root/player/lua/options.lua
diff options
context:
space:
mode:
Diffstat (limited to 'player/lua/options.lua')
-rw-r--r--player/lua/options.lua3
1 files changed, 1 insertions, 2 deletions
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"