A bit more refactoring.

master
aa6 2017-01-13 23:49:06 +03:00
parent 909d6b3943
commit 66509a39f6
3 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
0.4.21
0.4.22

View File

@ -174,7 +174,7 @@ end
----------------------------------------------------------------------------------------------------
function minetest_wadsprint.scan_player_controls(player)
local control = player.obj:get_player_control()
if (player.is_sprinting and control["up"]) then
if player.is_sprinting and control["up"] then
return
end
if control["left"] and control["right"] and not control["down"] then

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB