Making Metroids inedible

This commit is contained in:
Sharkmare
2019-03-05 08:45:04 +01:00
committed by GitHub
parent 12fef0aa80
commit eed04a1de3
+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(owner.stat == DEAD || if(istype(prey,/mob/living/simple_animal/hostile/metroid)))
return
if (prey.buckled)
prey.buckled.unbuckle_mob()