mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-24 12:37:50 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user