Implement self walking velocity for walking state

This commit is contained in:
jordan4ibanez 2021-04-16 19:59:20 -04:00
parent 9d6d042ee3
commit 15ea9c1c71
1 changed files with 1 additions and 1 deletions

View File

@ -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")