summaryrefslogtreecommitdiff
path: root/hud.lua
diff options
context:
space:
mode:
Diffstat (limited to 'hud.lua')
-rw-r--r--hud.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/hud.lua b/hud.lua
index 1280afa..19a3f35 100644
--- a/hud.lua
+++ b/hud.lua
@@ -15,7 +15,11 @@ minetest.register_globalstep(function(dtime)
else
first = false
end
- areaString = areaString..id.." ("..area.owner..")"
+ local ownertxt = area.owner
+ if area.open then
+ ownertxt = ownertxt.."/open"
+ end
+ areaString = areaString..id.." ("..ownertxt..")"
end
if not areas.hud[name] then
areas.hud[name] = {}