Paradise icon indicating copy to clipboard operation
Paradise copied to clipboard

Humans without a head runtime on death

Open Contrabang opened this issue 2 years ago • 0 comments

Issue Description:

Runtime occurs when a message is sent when they dont have a head?

Runtime

[2022-10-04T14:15:14] Runtime in _species.dm,1022: Cannot read null.hair_colour
[2022-10-04T14:15:14]   proc name: get species runechat color (/datum/species/proc/get_species_runechat_color)
[2022-10-04T14:15:14]   src: Human (/datum/species/human)
[2022-10-04T14:15:14]   call stack:
[2022-10-04T14:15:14]   Human (/datum/species/human): get species runechat color(Unknown (as Cole Alekseev) (/mob/living/carbon/human))
[2022-10-04T14:15:14]   Unknown (as Cole Alekseev) (/mob/living/carbon/human): get runechat color()
[2022-10-04T14:15:14]   /datum/chatmessage (/datum/chatmessage): generate image("seizes up and falls limp, his ...", Unknown (as Cole Alekseev) (/mob/living/carbon/human), Shara Shard (/mob/living/carbon/human), 50, 0, null, 1)
[2022-10-04T14:15:14]   ImmediateInvokeAsync(/datum/chatmessage (/datum/chatmessage), /datum/chatmessage/proc/genera... (/datum/chatmessage/proc/generate_image), "seizes up and falls limp, his ...", Unknown (as Cole Alekseev) (/mob/living/carbon/human), Shara Shard (/mob/living/carbon/human), 50, 0, null, 1)
[2022-10-04T14:15:14]   /datum/chatmessage (/datum/chatmessage): New("seizes up and falls limp, his ...", Unknown (as Cole Alekseev) (/mob/living/carbon/human), Shara Shard (/mob/living/carbon/human), 0, null, 50, 1)
[2022-10-04T14:15:14]   Shara Shard (/mob/living/carbon/human): create chat message(Unknown (as Cole Alekseev) (/mob/living/carbon/human), "seizes up and falls limp, his ...", 0, null, 1)
[2022-10-04T14:15:14]   /datum/emote/living/deathgasp (/datum/emote/living/deathgasp): runechat emote(Unknown (as Cole Alekseev) (/mob/living/carbon/human), "seizes up and falls limp, his ...")
[2022-10-04T14:15:14]   /datum/emote/living/deathgasp (/datum/emote/living/deathgasp): run emote(Unknown (as Cole Alekseev) (/mob/living/carbon/human), null, null, 0)
[2022-10-04T14:15:14]   /datum/emote/living/deathgasp (/datum/emote/living/deathgasp): try run emote(Unknown (as Cole Alekseev) (/mob/living/carbon/human), null, null, 0)
[2022-10-04T14:15:14]   Unknown (as Cole Alekseev) (/mob/living/carbon/human): emote("deathgasp", null, null, 0, 0)
[2022-10-04T14:15:14]   ...
[2022-10-04T14:15:14]   Unknown (as Cole Alekseev) (/mob/living/carbon/human): death(null)
[2022-10-04T14:15:14]   Unknown (as Cole Alekseev) (/mob/living/carbon/human): handle critical condition()
[2022-10-04T14:15:14]   Unknown (as Cole Alekseev) (/mob/living/carbon/human): Life(2, 2871)
[2022-10-04T14:15:14]   Unknown (as Cole Alekseev) (/mob/living/carbon/human): Life(2, 2871)
[2022-10-04T14:15:14]   Unknown (as Cole Alekseev) (/mob/living/carbon/human): Life(2, 2871)
[2022-10-04T14:15:14]   Mobs (/datum/controller/subsystem/mobs): fire(0)
[2022-10-04T14:15:14]   Mobs (/datum/controller/subsystem/mobs): ignite(0)
[2022-10-04T14:15:14]   Master (/datum/controller/master): RunQueue()
[2022-10-04T14:15:14]   Master (/datum/controller/master): StartProcessing(0)

Steps to reproduce the problem:

Decap someone and their death message will runtime (I think)

Extra information:

I think this is what happening, there may be another cause of this runtime

Contrabang avatar Oct 04 '22 16:10 Contrabang