mirror of
https://github.com/minetest-mods/hbsprint.git
synced 2024-11-10 17:13:45 +01:00
Fix typo.
This commit is contained in:
parent
7d08d859b1
commit
c3e00a68ba
2
init.lua
2
init.lua
@ -199,7 +199,7 @@ local function sprint_step(player, dtime)
|
|||||||
if dir then
|
if dir then
|
||||||
key_press = ctrl.aux1 and ctrl.up and not ctrl.left and not ctrl.right
|
key_press = ctrl.aux1 and ctrl.up and not ctrl.left and not ctrl.right
|
||||||
else
|
else
|
||||||
key_press = ctrl.aux1 and (ctrl.up or ctrl.left or ctrl.right or crtl.down)
|
key_press = ctrl.aux1 and (ctrl.up or ctrl.left or ctrl.right or ctrl.down)
|
||||||
end
|
end
|
||||||
|
|
||||||
if not key_press then
|
if not key_press then
|
||||||
|
Loading…
Reference in New Issue
Block a user