diff options
author | rubenwardy <rubenwardy@gmail.com> | 2017-05-24 06:45:23 +0100 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-05-24 07:45:23 +0200 |
commit | e8fb1f79bcd4261e2ed58f2f4286994d947572e2 (patch) | |
tree | 6cfa7394ad94eeb836952ca819ad2c99fb5bc45b /builtin/mainmenu | |
parent | 649f641f28dcb5054131d98f76584e5579d9f6d5 (diff) | |
download | minetest-e8fb1f79bcd4261e2ed58f2f4286994d947572e2.tar.gz minetest-e8fb1f79bcd4261e2ed58f2f4286994d947572e2.tar.bz2 minetest-e8fb1f79bcd4261e2ed58f2f4286994d947572e2.zip |
Add formspec escaping to subgame list in create world dialog (#5808)
Diffstat (limited to 'builtin/mainmenu')
-rw-r--r-- | builtin/mainmenu/gamemgr.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/mainmenu/gamemgr.lua b/builtin/mainmenu/gamemgr.lua index b6faa71d9..fd6025fcd 100644 --- a/builtin/mainmenu/gamemgr.lua +++ b/builtin/mainmenu/gamemgr.lua @@ -68,10 +68,10 @@ end function gamemgr.gamelist() local retval = "" if #gamemgr.games > 0 then - retval = retval .. gamemgr.games[1].name + retval = retval .. core.formspec_escape(gamemgr.games[1].name) for i=2,#gamemgr.games,1 do - retval = retval .. "," .. gamemgr.games[i].name + retval = retval .. "," .. core.formspec_escape(gamemgr.games[i].name) end end return retval |