2020-11-10 17:41:39 +01:00
|
|
|
minetest.register_globalstep(function()
|
|
|
|
if minetest.settings:get_bool("movement_ignore_server_speed") then
|
2020-11-11 01:56:08 +01:00
|
|
|
minetest.localplayer:set_override_speed(minetest.settings:get('movement_speed_walk'))
|
2020-11-10 17:41:39 +01:00
|
|
|
end
|
|
|
|
end)
|
|
|
|
|
|
|
|
minetest.register_cheat("IgnoreServerSpeed", "Movement", "movement_ignore_server_speed")
|