mirror of
https://github.com/minetest-mods/areas.git
synced 2024-12-26 18:50:41 +01:00
Show area names on hud
This commit is contained in:
parent
ce8891a325
commit
4bffabfa60
2
hud.lua
2
hud.lua
@ -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] = {}
|
||||||
|
Loading…
Reference in New Issue
Block a user