From 30954d3e046ea4f074b6c6c4531a7c6b21e10454 Mon Sep 17 00:00:00 2001 From: Brandon Date: Thu, 20 Jun 2013 09:14:11 -0500 Subject: forgot to reset sameowner variable --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index a0e10fa..0d403f1 100644 --- a/init.lua +++ b/init.lua @@ -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 -- cgit v1.2.3