Merge pull request #9600 from variableundefined/GearSpawn

Fixes gear disappearing on lobby screen
This commit is contained in:
Crazy Lemon
2018-09-26 17:02:31 -07:00
committed by GitHub
+4 -2
View File
@@ -316,8 +316,7 @@
job_master.AssignRole(src, rank, 1)
var/mob/living/character = create_character() //creates the human and transfers vars and mind
character = job_master.EquipRank(character, rank, 1) //equips the human
EquipCustomItems(character)
// AIs don't need a spawnpoint, they must spawn at an empty core
if(character.mind.assigned_role == "AI")
@@ -365,6 +364,9 @@
ticker.mode.latespawn(character)
character = job_master.EquipRank(character, rank, 1) //equips the human
EquipCustomItems(character)
if(character.mind.assigned_role == "Cyborg")
AnnounceCyborg(character, rank, join_message)
callHook("latespawn", list(character))