mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-08-20 05:54:18 +02:00
Swiming coment
This commit is contained in:
parent
adbfd6b55d
commit
38f70561c5
@ -151,6 +151,7 @@ minetest.register_globalstep(function(dtime)
|
||||
animation_speed_mod = animation_speed_mod / 2
|
||||
end
|
||||
|
||||
-- ask if player is swiming
|
||||
local standing_on_water = minetest.get_item_group(mcl_playerinfo[name].node_stand, "water") ~= 0
|
||||
|
||||
-- Apply animations based on what the player is doing
|
||||
|
Loading…
Reference in New Issue
Block a user