mirror of
https://github.com/moparisthebest/minetest
synced 2024-11-17 14:55:13 -05:00
Fix setting comments
This commit is contained in:
parent
9ee0d376d4
commit
7d5c736531
@ -106,7 +106,7 @@ local function parse_setting_line(settings, line, read_all, base_level, allow_se
|
|||||||
default = default,
|
default = default,
|
||||||
min = min,
|
min = min,
|
||||||
max = max,
|
max = max,
|
||||||
comment = settings.current_comment,
|
comment = current_comment,
|
||||||
})
|
})
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
@ -128,7 +128,7 @@ local function parse_setting_line(settings, line, read_all, base_level, allow_se
|
|||||||
readable_name = readable_name,
|
readable_name = readable_name,
|
||||||
type = setting_type,
|
type = setting_type,
|
||||||
default = default,
|
default = default,
|
||||||
comment = settings.current_comment,
|
comment = current_comment,
|
||||||
})
|
})
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
@ -143,7 +143,7 @@ local function parse_setting_line(settings, line, read_all, base_level, allow_se
|
|||||||
readable_name = readable_name,
|
readable_name = readable_name,
|
||||||
type = "bool",
|
type = "bool",
|
||||||
default = remaining_line,
|
default = remaining_line,
|
||||||
comment = settings.current_comment,
|
comment = current_comment,
|
||||||
})
|
})
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
@ -169,7 +169,7 @@ local function parse_setting_line(settings, line, read_all, base_level, allow_se
|
|||||||
default = default,
|
default = default,
|
||||||
min = min,
|
min = min,
|
||||||
max = max,
|
max = max,
|
||||||
comment = settings.current_comment,
|
comment = current_comment,
|
||||||
})
|
})
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
@ -187,7 +187,7 @@ local function parse_setting_line(settings, line, read_all, base_level, allow_se
|
|||||||
type = "enum",
|
type = "enum",
|
||||||
default = default,
|
default = default,
|
||||||
values = values:split(",", true),
|
values = values:split(",", true),
|
||||||
comment = settings.current_comment,
|
comment = current_comment,
|
||||||
})
|
})
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
@ -204,7 +204,7 @@ local function parse_setting_line(settings, line, read_all, base_level, allow_se
|
|||||||
readable_name = readable_name,
|
readable_name = readable_name,
|
||||||
type = "path",
|
type = "path",
|
||||||
default = default,
|
default = default,
|
||||||
comment = settings.current_comment,
|
comment = current_comment,
|
||||||
})
|
})
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
@ -225,7 +225,7 @@ local function parse_setting_line(settings, line, read_all, base_level, allow_se
|
|||||||
type = "flags",
|
type = "flags",
|
||||||
default = default,
|
default = default,
|
||||||
possible = possible,
|
possible = possible,
|
||||||
comment = settings.current_comment,
|
comment = current_comment,
|
||||||
})
|
})
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user