Update belly_obj_vr.dm

This commit is contained in:
Sharkmare
2019-03-05 08:53:38 +01:00
committed by GitHub
parent 3efe80da63
commit 6589917a44
+1 -1
View File
@@ -256,7 +256,7 @@
// The purpose of this method is to avoid duplicate code, and ensure that all necessary
// steps are taken.
/obj/belly/proc/nom_mob(var/mob/prey, var/mob/user)
if(owner.stat == DEAD || if(istype(prey,/mob/living/simple_animal/hostile/metroid)))
if(owner.stat == DEAD || !isEdible)
return
if (prey.buckled)
prey.buckled.unbuckle_mob()