From 233ba30a29802cafb0a9edfa5dc051dff3f3fe91 Mon Sep 17 00:00:00 2001 From: Razgriz Date: Thu, 22 Sep 2022 19:49:26 -0700 Subject: [PATCH] Early port some stuff from #4919 that way I can yeet it from #4919 --- code/modules/mob/living/living_defense.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/mob/living/living_defense.dm b/code/modules/mob/living/living_defense.dm index 62f9c58df2..58bf83160c 100644 --- a/code/modules/mob/living/living_defense.dm +++ b/code/modules/mob/living/living_defense.dm @@ -328,6 +328,8 @@ //Throwing a prey into a pred takes priority. After that it checks to see if the person being thrown is a pred. if(istype(AM, /mob/living)) var/mob/living/thrown_mob = AM + if(!client && !thrown_mob.allowmobvore) + return //The mob is AI controlled and the prey doesn't allow for mob vore allowed, don't even bother. if((can_be_drop_pred && throw_vore) && (thrown_mob.devourable && thrown_mob.throw_vore && thrown_mob.can_be_drop_prey)) //Prey thrown into pred. vore_selected.nom_mob(thrown_mob) //Eat them!!! visible_message("[thrown_mob] is thrown right into [src]'s [lowertext(vore_selected.name)]!")