Showing the changes to player/lua/options.lua (1 of 1 file). Show all
Unified · Split
| @@ -31,11 +31,10 @@ end · 30 unmodified lines | |||
| 31 | 31 | ||
| 32 | 32 | ||
| 33 | function read_options(options, identifier) | 33 | function read_options(options, identifier) |
| 34 | msg.debug("reading options for " .. identifier) | ||
| 35 | |||
| 36 | if identifier == nil then | 34 | if identifier == nil then |
| 37 | identifier = mp.get_script_name() | 35 | identifier = mp.get_script_name() |
| 38 | end | 36 | end |
| 37 | msg.debug("reading options for " .. identifier) | ||
| 39 | 38 | ||
| 40 | -- read config file | 39 | -- read config file |
| 41 | local conffilename = "lua-settings/" .. identifier .. ".conf" | 40 | local conffilename = "lua-settings/" .. identifier .. ".conf" |