forked from Mirrorlandia_minetest/minetest
Add missing server flags in public serverlist
This commit is contained in:
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
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user