update fork (again) #8

Merged
chmodsayshello merged 2270 commits from VoxeLibre/VoxeLibre:master into master 2023-01-06 20:13:54 +01:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 8556226cf7 - Show all commits

View File

@ -65,9 +65,9 @@ local function cancelClientSprinting(name)
end
local function setSprinting(playerName, sprinting) --Sets the state of a player (0=stopped/moving, 1=sprinting)
if not sprinting and not mcl_sprint.is_sprinting(playerName) then return end
local player = minetest.get_player_by_name(playerName)
local controls = player:get_player_control()
if not sprinting and not mcl_sprint.is_sprinting(playerName) then return end
if players[playerName] then
players[playerName].sprinting = sprinting
local fov_old = players[playerName].fov