Diona no longer split into nymphs when they cryo. (#8301)

This commit is contained in:
mikomyazaki
2020-02-19 01:25:14 -03:00
committed by GitHub
parent 1a7d75d6a4
commit d9b56d55ec
4 changed files with 17 additions and 1 deletions
+2
View File
@@ -704,6 +704,8 @@
H.ckey = null
// Delete the mob.
if(H.species)
H.species.handle_despawn(H)
qdel(H)
// Equips a human-type with their custom loadout crap.
@@ -580,4 +580,7 @@
return "nutriment"
/datum/species/proc/can_commune()
return FALSE
return FALSE
/datum/species/proc/handle_despawn()
return
@@ -178,3 +178,8 @@
if(H.get_total_health() <= config.health_threshold_dead)
return TRUE
return FALSE
/datum/species/diona/handle_despawn(var/mob/living/carbon/human/H)
for(var/mob/living/carbon/alien/diona/D in H.contents)
if((!D.client && !D.mind) || D.stat == DEAD)
qdel(D)
@@ -0,0 +1,6 @@
author: mikomyazaki
delete-after: True
changes:
- bugfix: "Diona will no longer split into nymphs when they cryo."