mirror of
https://repo.or.cz/minetest_hudbars.git
synced 2024-08-20 13:16:07 +02:00
Don't set breath for respawners
This commit is contained in:
parent
860d0b38fd
commit
c198284de9
5
init.lua
5
init.lua
@ -122,11 +122,6 @@ minetest.register_on_joinplayer(function(player)
|
||||
end)
|
||||
end)
|
||||
|
||||
minetest.register_on_respawnplayer(function(player)
|
||||
-- reset player breath since the engine doesnt
|
||||
player:set_breath(11)
|
||||
end)
|
||||
|
||||
local main_timer = 0
|
||||
local timer = 0
|
||||
local timer2 = 0
|
||||
|
Loading…
Reference in New Issue
Block a user