Prevent admin being affected by getlost

This commit is contained in:
ezhh 2017-09-26 22:14:13 +01:00
parent 7eeb5a0a56
commit 3f3701f2e0

View File

@ -183,7 +183,7 @@ minetest.register_on_joinplayer(function(player)
freeze(name,name) freeze(name,name)
end end
if minetest.get_player_privs(name).lost then if minetest.get_player_privs(name).lost then
player:hud_set_flags({minimap = false}) getlost(name,name)
end end
end) end)