From: sapier Date: Fri, 12 Jul 2013 19:56:42 +0000 (+0200) Subject: Add missing server flags in public serverlist X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=38bc38cd88edd621c606abc4ca0b81d892da6592;p=zefram%2Fminetest%2Fminetest_engine.git Add missing server flags in public serverlist --- diff --git a/builtin/mainmenu.lua b/builtin/mainmenu.lua index ee331611..4cc5bfac 100644 --- a/builtin/mainmenu.lua +++ b/builtin/mainmenu.lua @@ -30,30 +30,31 @@ function render_favourite(spec) local details = "" if spec.password == true then - details = " *" + details = details .. "*" else - details = " " + details = details .. "_" end if spec.creative then details = details .. "C" else - details = details .. " " + details = details .. "_" end if spec.damage then details = details .. "D" else - details = details .. " " + details = details .. "_" end if spec.pvp then details = details .. "P" else - details = details .. " " + details = details .. "_" end + details = details .. " " - return text + return fs_escape_string(details) .. text end --------------------------------------------------------------------------------