Show area names on hud

This commit is contained in:
Ciaran Gultnieks 2014-02-07 18:18:03 +00:00
parent ce8891a325
commit 4bffabfa60

View File

@ -19,7 +19,7 @@ minetest.register_globalstep(function(dtime)
if area.open then if area.open then
ownertxt = ownertxt.."/open" ownertxt = ownertxt.."/open"
end end
areaString = areaString..id.." ("..ownertxt..")" areaString = areaString..area.name.." ("..id.."/"..ownertxt..")"
end end
if not areas.hud[name] then if not areas.hud[name] then
areas.hud[name] = {} areas.hud[name] = {}