Carbon mobs get proper species-based names for mob spawners (#19451)

* Even the dead bodies get the proper names

* Right, dead bodies
This commit is contained in:
Vi3trice
2022-10-21 19:56:46 +02:00
committed by GitHub
parent 3e40b051de
commit 3ed0c435c6
+2
View File
@@ -214,6 +214,8 @@
/obj/effect/mob_spawn/human/equip(mob/living/carbon/human/H)
if(mob_species)
H.set_species(mob_species)
if(random)
H.real_name = random_name(H.gender, H.dna.species)
if(husk)
H.Drain()