From 33a63d8e6ea39d81d0fb6805a40982de1e7340cd Mon Sep 17 00:00:00 2001 From: Otto Modinos Date: Tue, 16 Sep 2014 18:19:22 +0300 Subject: [PATCH] options.lua: call msg.debug after resolving 'identifier' --- player/lua/options.lua | 3 +-- 1 file changed, 1 insertion(+), 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"