diff --git a/code/modules/mob/dead/new_player/new_player.dm b/code/modules/mob/dead/new_player/new_player.dm index 47f869e2057d..8ba78ed1914f 100644 --- a/code/modules/mob/dead/new_player/new_player.dm +++ b/code/modules/mob/dead/new_player/new_player.dm @@ -298,15 +298,14 @@ SSticker.minds += character.mind character.client.init_verbs() // init verbs for the late join - var/mob/living/carbon/human/humanc - if(ishuman(character)) - humanc = character //Let's retypecast the var to be human, - if(humanc) //These procs all expect humans + if(ishuman(character)) //These procs all expect humans + var/mob/living/carbon/human/humanc = character ship.manifest_inject(humanc, client, job) GLOB.data_core.manifest_inject(humanc, client) AnnounceArrival(humanc, job.title, ship) AddEmploymentContract(humanc) + SSblackbox.record_feedback("tally", "species_spawned", 1, humanc.dna.species.name) if(GLOB.highlander) to_chat(humanc, "THERE CAN BE ONLY ONE!!!") @@ -317,12 +316,11 @@ give_magic(humanc) if(GLOB.curse_of_madness_triggered) give_madness(humanc, GLOB.curse_of_madness_triggered) + if(CONFIG_GET(flag/roundstart_traits)) + SSquirks.AssignQuirks(humanc, humanc.client, TRUE) GLOB.joined_player_list += character.ckey - if(humanc && CONFIG_GET(flag/roundstart_traits)) - SSquirks.AssignQuirks(humanc, humanc.client, TRUE) - log_manifest(character.mind.key, character.mind, character, TRUE) if(length(ship.job_slots) > 1 && ship.job_slots[1] == job) // if it's the "captain" equivalent job of the ship. checks to make sure it's not a one-job ship @@ -358,7 +356,7 @@ count++ if(template.limit <= count) alert(src, "The ship limit of [template.limit] has been reached this round.") - return + return LateChoices() //Send them back to shuttle selection close_spawn_windows() to_chat(usr, "Your [template.name] is being prepared. Please be patient!") var/datum/overmap/ship/controlled/target = new(SSovermap.get_unused_overmap_square(), template) diff --git a/code/modules/mob/living/carbon/human/species.dm b/code/modules/mob/living/carbon/human/species.dm index 32515b656c62..8d015a4f7006 100644 --- a/code/modules/mob/living/carbon/human/species.dm +++ b/code/modules/mob/living/carbon/human/species.dm @@ -1264,7 +1264,6 @@ GLOBAL_LIST_EMPTY(roundstart_races) /datum/species/proc/after_equip_job(datum/job/J, mob/living/carbon/human/H) H.update_mutant_bodyparts() - SSblackbox.record_feedback("tally", "species_spawned", 1, name) /datum/species/proc/handle_chemicals(datum/reagent/chem, mob/living/carbon/human/H) if(chem.type == exotic_blood)