mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00: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:
@@ -366,7 +366,7 @@
|
||||
if(istype(H,/mob/living/silicon/ai))
|
||||
possibleverbs += typesof(/mob/living/silicon/proc,/mob/living/silicon/ai/proc,/mob/living/silicon/ai/verb)
|
||||
if(istype(H,/mob/living/simple_mob))
|
||||
possibleverbs += typesof(/mob/living/simple_mob/proc,/mob/living/simple_mob/verb) //VOREStation edit, Apparently polaris simplemobs have no verbs at all.
|
||||
possibleverbs += typesof(/mob/living/simple_mob/proc)
|
||||
possibleverbs -= H.verbs
|
||||
possibleverbs += "Cancel" // ...And one for the bottom
|
||||
|
||||
|
||||
Reference in New Issue
Block a user