Skip to content

Commit

Permalink
Fixes secbot 0g trips
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyberboss authored and KorPhaeron committed Jan 25, 2018
1 parent bff4ebd commit 4e77a06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/mob/living/simple_animal/bot/secbot.dm
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ Auto Patrol: []"},
mode = BOT_HUNT

/mob/living/simple_animal/bot/secbot/Crossed(atom/movable/AM)
if(ismob(AM) && target)
if(has_gravity() && ismob(AM) && target)
var/mob/living/carbon/C = AM
if(!istype(C) || !C || in_range(src, target))
return
Expand Down

0 comments on commit 4e77a06

Please sign in to comment.