diff options
author | Brandon <brandon@bremaweb.com> | 2013-06-20 11:03:45 -0500 |
---|---|---|
committer | Brandon <brandon@bremaweb.com> | 2013-06-20 11:03:45 -0500 |
commit | 33507be85a2b84b0c444a89fc134dd78d65ea2f3 (patch) | |
tree | f859e9ccf12bb42afe35c8a52060e0690204dd93 | |
parent | 214e4c9934dd062f1323337bf7913340bc9b6a5a (diff) |
fix hud drawing issue
-rw-r--r-- | init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -319,7 +319,7 @@ minetest.register_globalstep(function(dtime) gstepCount = gstepCount + dtime if ( gstepCount > 2 ) then - for _,player in pairs(minetest.get_connected_players()) do + for _,player in ipairs(minetest.get_connected_players()) do local name = player:get_player_name() local sameowner = false owner = landrush.get_owner(player:getpos()) @@ -337,7 +337,7 @@ minetest.register_globalstep(function(dtime) end if ( owner ~= nil and sameowner == false ) then - minetest.log('action','Redraw hud for'..name) + minetest.log('action','Redraw hud for '..name) playerHudItems[name] = {hud = player:hud_add({ hud_elem_type = "text", name = "LandOwner", |