mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-23 08:29:34 +01:00
Implement self walking velocity for walking state
This commit is contained in:
parent
9d6d042ee3
commit
15ea9c1c71
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ local state_execution = function(self,dtime)
|
|||
--only move forward if path is clear
|
||||
if node_in_front_of == 0 or node_in_front_of == 1 then
|
||||
--set the velocity of the mob
|
||||
mobs.set_velocity(self,1)
|
||||
mobs.set_velocity(self,self.walk_velocity)
|
||||
end
|
||||
|
||||
--print("walk")
|
||||
|
|
Loading…
Reference in a new issue