Fix dogshooter animation when moving back

This commit is contained in:
epCode 2022-10-27 20:42:58 +00:00 committed by cora
parent de73129c2b
commit 702ba25283

View File

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