diff --git a/code/datums/ai/monkey/monkey_subtrees.dm b/code/datums/ai/monkey/monkey_subtrees.dm index 037f7d8562efd..d07a5a4f90312 100644 --- a/code/datums/ai/monkey/monkey_subtrees.dm +++ b/code/datums/ai/monkey/monkey_subtrees.dm @@ -76,7 +76,7 @@ controller.queue_behavior(/datum/ai_behavior/consume, pick(food_candidates)) return - if(prob(50)) + if(isturf(living_pawn.loc) && prob(50)) var/list/possible_targets = list() for(var/atom/thing in view(2, living_pawn)) if(!thing.mouse_opacity)