Fixed Runtime in simple_animal_vr.dm,41: Cannot read null.digest_mode

- Caused by using "Toggle Animal's Digestion" verb on non-vore-capable mobs.
- Even better, changed it to not even add those verbs on mobs without vore
- Also remove the path from VV addverb since it is a proc now.
This commit is contained in:
Leshana
2020-02-24 17:57:56 -05:00
parent a92107ad8f
commit 25fed81d9f
3 changed files with 15 additions and 4 deletions
@@ -198,6 +198,10 @@
if(LAZYLEN(vore_organs))
return
// Since they have bellies, add verbs to toggle settings on them.
verbs |= /mob/living/simple_mob/proc/toggle_digestion
verbs |= /mob/living/simple_mob/proc/toggle_fancygurgle
//A much more detailed version of the default /living implementation
var/obj/belly/B = new /obj/belly(src)
vore_selected = B