diff options
author | Brandon <brandon@bremaweb.com> | 2013-06-20 09:14:11 -0500 |
---|---|---|
committer | Brandon <brandon@bremaweb.com> | 2013-06-20 09:14:11 -0500 |
commit | 30954d3e046ea4f074b6c6c4531a7c6b21e10454 (patch) | |
tree | ee47ea1c4f0707ef1edf626e8c18984b2c0e7b57 | |
parent | ceb46b8bf61d0b02a6eb3a12d6f5a255dc1fa247 (diff) |
forgot to reset sameowner variable
-rw-r--r-- | init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -318,10 +318,10 @@ minetest.register_entity("landrush:showarea",{ minetest.register_globalstep(function(dtime) gstepCount = gstepCount + dtime if ( gstepCount > 2 ) then - local sameowner = false + for _,player in pairs(minetest.get_connected_players()) do local name = player:get_player_name() - + local sameowner = false owner = landrush.get_owner(player:getpos()) if ( playerHudItems[name] ~= nil ) then |