aboutsummaryrefslogtreecommitdiff
path: root/builtin/mainmenu
diff options
context:
space:
mode:
Diffstat (limited to 'builtin/mainmenu')
-rw-r--r--builtin/mainmenu/dlg_settings_advanced.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/builtin/mainmenu/dlg_settings_advanced.lua b/builtin/mainmenu/dlg_settings_advanced.lua
index 4a6fcfba7..ea0134580 100644
--- a/builtin/mainmenu/dlg_settings_advanced.lua
+++ b/builtin/mainmenu/dlg_settings_advanced.lua
@@ -522,8 +522,10 @@ local function get_current_np_group_as_string(setting)
value.seed .. ", " ..
value.octaves .. ", " ..
value.persistence .. ", " ..
- value.lacunarity .. ", " ..
- value.flags
+ value.lacunarity
+ if value.flags ~= "" then
+ t = t .. ", " .. value.flags
+ end
end
return t
end