From 702ba252832a98fb87389cdf2c1f0bafa0fa66da Mon Sep 17 00:00:00 2001 From: epCode Date: Thu, 27 Oct 2022 20:42:58 +0000 Subject: [PATCH] Fix dogshooter animation when moving back --- mods/ENTITIES/mcl_mobs/api.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ENTITIES/mcl_mobs/api.lua b/mods/ENTITIES/mcl_mobs/api.lua index 00f5c4450..37c9cad86 100644 --- a/mods/ENTITIES/mcl_mobs/api.lua +++ b/mods/ENTITIES/mcl_mobs/api.lua @@ -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