From b5fcaf20e6b4617a375fe207b6cd2fdf00147abd Mon Sep 17 00:00:00 2001 From: Poojawa Date: Thu, 1 Aug 2019 17:40:43 -0500 Subject: [PATCH] Fixes a runtime with a simple mob verb --- code/modules/mob/living/simple_animal/simple_animal_vr.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/mob/living/simple_animal/simple_animal_vr.dm b/code/modules/mob/living/simple_animal/simple_animal_vr.dm index 4d808a11a9..41ece5ed06 100644 --- a/code/modules/mob/living/simple_animal/simple_animal_vr.dm +++ b/code/modules/mob/living/simple_animal/simple_animal_vr.dm @@ -105,6 +105,9 @@ var/mob/living/carbon/human/user = usr if(!istype(user) || user.stat) return + if(!vore_active) + return + if(vore_selected.digest_mode == DM_HOLD) var/confirm = alert(usr, "Enabling digestion on [name] will cause it to digest all stomach contents. Using this to break OOC prefs is against the rules. Digestion will disable itself after 20 minutes.", "Enabling [name]'s Digestion", "Enable", "Cancel") if(confirm == "Enable")