aboutsummaryrefslogtreecommitdiff
path: root/builtin/mainmenu
diff options
context:
space:
mode:
Diffstat (limited to 'builtin/mainmenu')
-rw-r--r--builtin/mainmenu/dlg_create_world.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/mainmenu/dlg_create_world.lua b/builtin/mainmenu/dlg_create_world.lua
index ae818d04b..5771d8b27 100644
--- a/builtin/mainmenu/dlg_create_world.lua
+++ b/builtin/mainmenu/dlg_create_world.lua
@@ -44,6 +44,7 @@ local function create_world_formspec(dialogdata)
end
end
+ current_seed = core.formspec_escape(current_seed)
local retval =
"size[12,6,true]" ..
"label[2,0;" .. fgettext("World name") .. "]"..