mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-19 17:41:06 +01:00
Fix swimming crash (sorry)
This commit is contained in:
parent
98f6e05cdc
commit
38cb2fdeec
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ minetest.register_globalstep(function(dtime)
|
||||||
end
|
end
|
||||||
elseif controls.LMB and not controls.sneak and standing_on_water and is_sprinting == true or controls.LMB and block_in_head.walkable then
|
elseif controls.LMB and not controls.sneak and standing_on_water and is_sprinting == true or controls.LMB and block_in_head.walkable then
|
||||||
player_set_animation(player, "swim_mine")
|
player_set_animation(player, "swim_mine")
|
||||||
elseif not controls.LMB and not controls.sneak and standing_on_water and is_sprinting == true or not controls.LMB and block_in_head.walkable then
|
elseif not controls.LMB and not controls.sneak and standing_on_water and is_sprinting == true then
|
||||||
player_set_animation(player, "swim_stand")
|
player_set_animation(player, "swim_stand")
|
||||||
elseif controls.LMB and not controls.sneak then
|
elseif controls.LMB and not controls.sneak then
|
||||||
player_set_animation(player, "mine")
|
player_set_animation(player, "mine")
|
||||||
|
|
Loading…
Reference in a new issue