Skip to content

Commit

Permalink
Fixes cliented and Aied mobs moving
Browse files Browse the repository at this point in the history
Fixes cliented and Aied mobs moving
  • Loading branch information
Razharas committed May 19, 2016
1 parent 0305868 commit 6917f2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/mob/living/simple_animal/hostile/hostile.dm
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
return 1

/mob/living/simple_animal/hostile/bullet_act(obj/item/projectile/P)
if(!target)
if(!target && AIStatus != AI_OFF && !client))
Goto(P.starting, move_to_delay, 3)
..()

Expand Down Expand Up @@ -356,4 +356,4 @@
. = 0

/mob/living/simple_animal/hostile/proc/AIShouldSleep(var/list/possible_targets)
return !FindTarget(possible_targets, 1)
return !FindTarget(possible_targets, 1)

0 comments on commit 6917f2a

Please sign in to comment.