1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-09-15 18:57:08 +00:00

Get rid of hidden settings in settings_translation_file.cpp

This commit is contained in:
Gregor Parzefall 2023-11-10 16:25:57 +01:00 committed by sfan5
parent af474d10a4
commit 8bf2031310
4 changed files with 33 additions and 14 deletions

View file

@ -116,9 +116,7 @@ local function load_settingtypes()
content = {},
}
if page.title:sub(1, 5) ~= "Hide:" then
page = add_page(page)
end
page = add_page(page)
elseif entry.level == 2 then
ensure_page_started()
page.content[#page.content + 1] = {