diff options
author | PilzAdam <pilzadam@minetest.net> | 2015-10-24 23:11:21 +0200 |
---|---|---|
committer | PilzAdam <pilzadam@minetest.net> | 2015-10-24 23:11:21 +0200 |
commit | 7d5c7365314c9517369a7a7d6e4fc5d8712b93c7 (patch) | |
tree | ca20ce02cc2e7c64444cbb414bd742a66943ac9d | |
parent | 9ee0d376d4e4679be074ed3a27e9700169aecea3 (diff) | |
download | minetest-7d5c7365314c9517369a7a7d6e4fc5d8712b93c7.tar.gz minetest-7d5c7365314c9517369a7a7d6e4fc5d8712b93c7.tar.bz2 minetest-7d5c7365314c9517369a7a7d6e4fc5d8712b93c7.zip |
Fix setting comments
-rw-r--r-- | builtin/mainmenu/tab_settings.lua | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/builtin/mainmenu/tab_settings.lua b/builtin/mainmenu/tab_settings.lua index e6d6c6dd7..463a5e90b 100644 --- a/builtin/mainmenu/tab_settings.lua +++ b/builtin/mainmenu/tab_settings.lua @@ -106,7 +106,7 @@ local function parse_setting_line(settings, line, read_all, base_level, allow_se default = default, min = min, max = max, - comment = settings.current_comment, + comment = current_comment, }) return end @@ -128,7 +128,7 @@ local function parse_setting_line(settings, line, read_all, base_level, allow_se readable_name = readable_name, type = setting_type, default = default, - comment = settings.current_comment, + comment = current_comment, }) return end @@ -143,7 +143,7 @@ local function parse_setting_line(settings, line, read_all, base_level, allow_se readable_name = readable_name, type = "bool", default = remaining_line, - comment = settings.current_comment, + comment = current_comment, }) return end @@ -169,7 +169,7 @@ local function parse_setting_line(settings, line, read_all, base_level, allow_se default = default, min = min, max = max, - comment = settings.current_comment, + comment = current_comment, }) return end @@ -187,7 +187,7 @@ local function parse_setting_line(settings, line, read_all, base_level, allow_se type = "enum", default = default, values = values:split(",", true), - comment = settings.current_comment, + comment = current_comment, }) return end @@ -204,7 +204,7 @@ local function parse_setting_line(settings, line, read_all, base_level, allow_se readable_name = readable_name, type = "path", default = default, - comment = settings.current_comment, + comment = current_comment, }) return end @@ -225,7 +225,7 @@ local function parse_setting_line(settings, line, read_all, base_level, allow_se type = "flags", default = default, possible = possible, - comment = settings.current_comment, + comment = current_comment, }) return end |