Fixes dogborg inbuilt belly deaths not counting as vore deaths

This commit is contained in:
Heroman
2022-09-21 05:32:04 +10:00
parent de26e6be5b
commit ae33c5964d
2 changed files with 4 additions and 1 deletions
@@ -25,7 +25,7 @@
//Technically allows metagaming by allowing buddies to turn on digestion for like 2 seconds
// to finish off critically wounded friends to avoid resleeving sickness, but like
// *kill those people* ok?
if(B.digest_mode == DM_DIGEST)
if(B.digest_mode == DM_DIGEST || B.digest_mode == DM_SELECT)
H.mind?.vore_death = TRUE
//Hooks need to return true otherwise they're considered having failed
@@ -598,9 +598,12 @@
volume = T.reagents.total_volume
if(water)
water.add_charge(volume)
if(T.ckey)
GLOB.prey_digested_roundstat++
if(patient == T)
patient_laststat = null
patient = null
T.mind?.vore_death = TRUE
qdel(T)
//Pick a random item to deal with (if there are any)