8 lines
333 B
Lua
Raw Normal View History

minetest.register_globalstep(function()
2020-11-13 11:24:23 +01:00
if minetest.localplayer and minetest.settings:get_bool("movement_ignore_server_speed") then
minetest.localplayer:set_override_speed(minetest.settings:get('movement_speed_walk'))
end
end)
minetest.register_cheat("IgnoreServerSpeed", "Movement", "movement_ignore_server_speed")