Add missing server flags in public serverlist

This commit is contained in:
sapier 2013-07-12 21:56:42 +02:00 committed by PilzAdam
parent 494fa0c81a
commit 38bc38cd88

@ -30,30 +30,31 @@ function render_favourite(spec)
local details = "" local details = ""
if spec.password == true then if spec.password == true then
details = " *" details = details .. "*"
else else
details = " " details = details .. "_"
end end
if spec.creative then if spec.creative then
details = details .. "C" details = details .. "C"
else else
details = details .. " " details = details .. "_"
end end
if spec.damage then if spec.damage then
details = details .. "D" details = details .. "D"
else else
details = details .. " " details = details .. "_"
end end
if spec.pvp then if spec.pvp then
details = details .. "P" details = details .. "P"
else else
details = details .. " " details = details .. "_"
end end
details = details .. " "
return text return fs_escape_string(details) .. text
end end
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------