mirror of
https://repo.or.cz/minetest_hudbars.git
synced 2024-08-20 13:16:07 +02:00
Remove stupid testing code
This commit is contained in:
parent
48045ec7f0
commit
d099ae91e2
3
init.lua
3
init.lua
@ -528,8 +528,7 @@ minetest.register_globalstep(function(dtime)
|
|||||||
if minetest.setting_getbool("enable_damage") or hb.settings.forceload_default_hudbars then
|
if minetest.setting_getbool("enable_damage") or hb.settings.forceload_default_hudbars then
|
||||||
for _, player in pairs(hb.players) do
|
for _, player in pairs(hb.players) do
|
||||||
-- update all hud elements
|
-- update all hud elements
|
||||||
minetest.after(1,function(player) update_hud(player) end, player)
|
update_hud(player)
|
||||||
-- update_hud(player)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user