mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 13:38:41 +01:00
Revert "Assorted changes to job assignment code and logging." (#85929)
Reverts tgstation/tgstation#85308 
This commit is contained in:
@@ -521,7 +521,7 @@ ADMIN_VERB(spawn_debug_full_crew, R_DEBUG, "Spawn Debug Full Crew", "Creates a f
|
||||
// Then, spawn a human and slap a person into it.
|
||||
var/number_made = 0
|
||||
for(var/rank in SSjob.name_occupations)
|
||||
var/datum/job/job = SSjob.get_job(rank)
|
||||
var/datum/job/job = SSjob.GetJob(rank)
|
||||
|
||||
// JOB_CREW_MEMBER is all jobs that pretty much aren't silicon
|
||||
if(!(job.job_flags & JOB_CREW_MEMBER))
|
||||
@@ -533,7 +533,7 @@ ADMIN_VERB(spawn_debug_full_crew, R_DEBUG, "Spawn Debug Full Crew", "Creates a f
|
||||
new_guy.mind.name = "[rank] Dummy"
|
||||
|
||||
// Assign the rank to the new player dummy.
|
||||
if(!SSjob.assign_role(new_guy, job, do_eligibility_checks = FALSE))
|
||||
if(!SSjob.AssignRole(new_guy, job, do_eligibility_checks = FALSE))
|
||||
qdel(new_guy)
|
||||
to_chat(user, "[rank] wasn't able to be spawned.")
|
||||
continue
|
||||
@@ -545,7 +545,7 @@ ADMIN_VERB(spawn_debug_full_crew, R_DEBUG, "Spawn Debug Full Crew", "Creates a f
|
||||
qdel(new_guy)
|
||||
|
||||
// Then equip up the human with job gear.
|
||||
SSjob.equip_rank(character, job)
|
||||
SSjob.EquipRank(character, job)
|
||||
job.after_latejoin_spawn(character)
|
||||
|
||||
// Finally, ensure the minds are tracked and in the manifest.
|
||||
|
||||
Reference in New Issue
Block a user