Merge pull request #2390 from Verkister/scremsdead

Removes a redundant double check from digestion_death and adminlogs digested players
This commit is contained in:
Spades
2017-10-30 13:56:58 -04:00
committed by GitHub
+3 -1
View File
@@ -266,7 +266,9 @@
// Indigestable items are removed, and M is deleted.
/datum/belly/proc/digestion_death(var/mob/living/M)
is_full = 1
M.death(1)
//M.death(1) // "Stop it he's already dead..." Basically redundant and the reason behind screaming mouse carcasses.
if(M.ckey)
message_admins("[key_name(owner)] has digested [key_name(M)] in their [name] ([owner ? "<a href='?_src_=holder;adminplayerobservecoodjump=1;X=[owner.x];Y=[owner.y];Z=[owner.z]'>JMP</a>" : "null"])")
internal_contents -= M
// If digested prey is also a pred... anyone inside their bellies gets moved up.