Fix cloning message having unintended linebreaks (#14974)

This commit is contained in:
dearmochi
2020-11-23 14:24:20 +00:00
committed by GitHub
parent 41d6fd9630
commit c526124b9f
+9 -9
View File
@@ -299,13 +299,12 @@ GLOBAL_LIST_INIT(cloner_biomass_items, list(\
clonemind.transfer_to(H)
H.ckey = R.ckey
update_clone_antag(H) //Since the body's got the mind, update their antag stuff right now. Otherwise, wait until they get kicked out (as per the CLONER_MATURE_CLONE business) to do it.
to_chat(H, {"<span class='notice'><b>Consciousness slowly creeps over you
as your body regenerates.</b><br><i>So this is what cloning
feels like?</i></span>"})
var/message
message += "<b>Consciousness slowly creeps over you as your body regenerates.</b><br>"
message += "<i>So this is what cloning feels like?</i>"
to_chat(H, "<span class='notice'>[message]</span>")
else if(grab_ghost_when == CLONER_MATURE_CLONE)
to_chat(clonemind.current, {"<span class='notice'>Your body is
beginning to regenerate in a cloning pod. You will
become conscious when it is complete.</span>"})
to_chat(clonemind.current, "<span class='notice'>Your body is beginning to regenerate in a cloning pod. You will become conscious when it is complete.</span>")
// Set up a soul link with the dead body to catch a revival
soullink(/datum/soullink/soulhook, clonemind.current, src)
@@ -533,9 +532,10 @@ GLOBAL_LIST_INIT(cloner_biomass_items, list(\
if(occupant.mind != clonemind)
clonemind.transfer_to(occupant)
occupant.grab_ghost() // We really just want to make you suffer.
to_chat(occupant, {"<span class='warning'><b>Agony blazes across your
consciousness as your body is torn apart.</b><br>
<i>Is this what dying is like? Yes it is.</i></span>"})
var/message
message += "<b>Agony blazes across your consciousness as your body is torn apart.</b><br>"
message += "<i>Is this what dying is like? Yes it is.</i>"
to_chat(occupant, "<span class='warning'>[message]</span>")
occupant << sound('sound/hallucinations/veryfar_noise.ogg',0,1,50)
for(var/i in missing_organs)
qdel(i)