hide string 'areas:' when no area name is found

master
Juraj Vajda 2016-10-21 00:18:18 +01:00
parent 6027dd8548
commit a8ee075d03
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ minetest.register_globalstep(function(dtime)
:format(area.name, id, area.owner,
area.open and ":open" or ""))
end
local areaString = "Areas:"
local areaString = ""
if #areaStrings > 0 then
areaString = areaString.."\n"..
table.concat(areaStrings, "\n")