mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 04:21:07 +01:00
Fix dogshooter animation when moving back
This commit is contained in:
parent
de73129c2b
commit
702ba25283
1 changed files with 1 additions and 1 deletions
|
@ -3137,7 +3137,7 @@ local do_states = function(self, dtime)
|
|||
|
||||
--stay away from player so as to shoot them
|
||||
if dist < 9 and self.shooter_avoid_enemy then
|
||||
set_animation(self, "walk")
|
||||
set_animation(self, "shoot")
|
||||
stay_away_from_player=vector.multiply(vector.direction(p, s), 0.33)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue