remove after() hack

This commit is contained in:
Thomas Rudin
2018-11-13 08:59:52 +01:00
parent 0a71358917
commit a1964f83c5
-7
View File
@@ -143,13 +143,6 @@ local update_hud = function(player, has_full_suit, armor_list)
end end
minetest.register_on_joinplayer(function(player)
-- reset hud 2 seconds after join
minetest.after(2, function()
remove_hud(player)
end)
end)
spacesuit.set_player_wearing = function(player, has_full_suit, has_helmet, armor_list) spacesuit.set_player_wearing = function(player, has_full_suit, has_helmet, armor_list)
local playername = player:get_player_name() local playername = player:get_player_name()
local hud_data = hud[playername] local hud_data = hud[playername]