Skip to content
Snippets Groups Projects
Commit 38bc38cd authored by sapier's avatar sapier Committed by PilzAdam
Browse files

Add missing server flags in public serverlist

parent 494fa0c8
No related branches found
No related tags found
No related merge requests found
......@@ -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
--------------------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment