Закомментировал функцию, изменяющую скорость бега.
This commit is contained in:
parent
946d79eac6
commit
0de7f988f9
@ -129,15 +129,15 @@ minetest.register_globalstep (function(dtime)
|
|||||||
p.candy = 0
|
p.candy = 0
|
||||||
end
|
end
|
||||||
if p.time > 0 then
|
if p.time > 0 then
|
||||||
player:set_physics_override({
|
--[[player:set_physics_override({
|
||||||
speed = 2.5,
|
speed = 2.5,
|
||||||
})
|
})]]
|
||||||
end
|
end
|
||||||
--minetest.chat_send_all(p.candy)
|
--minetest.chat_send_all(p.candy)
|
||||||
if p.time == 0 then
|
if p.time == 0 then
|
||||||
player:set_physics_override({
|
--[[player:set_physics_override({
|
||||||
speed = 1,
|
speed = 1,
|
||||||
})
|
})]]
|
||||||
if p.hud.ui then
|
if p.hud.ui then
|
||||||
player:hud_remove(p.hud.ui)
|
player:hud_remove(p.hud.ui)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user