fix to avoid hbsprint bug

This commit is contained in:
Alexsandro Percy 2021-12-23 09:57:21 -03:00
parent 946d79eac6
commit 91d748b115

View File

@ -129,15 +129,17 @@ minetest.register_globalstep (function(dtime)
p.candy = 0
end
if p.time > 0 then
player:set_physics_override({
speed = 2.5,
})
--commented to avoid bug behaviour against hbsprint
--[[player:set_physics_override({
speed = 2.5,
})]]--
end
--minetest.chat_send_all(p.candy)
if p.time == 0 then
player:set_physics_override({
speed = 1,
})
--commented to avoid bug behaviour against hbsprint
--[[player:set_physics_override({
speed = 1,
})]]--
if p.hud.ui then
player:hud_remove(p.hud.ui)
end