Fixes gearspawning for good

This commit is contained in:
variableundefined
2018-09-27 11:40:39 +08:00
parent 1820e9cb19
commit 1d1b0daaa0
2 changed files with 39 additions and 32 deletions
+1 -2
View File
@@ -316,11 +316,10 @@
job_master.AssignRole(src, rank, 1)
var/mob/living/character = create_character() //creates the human and transfers vars and mind
character = job_master.AssignRank(character, rank, 1) //equips the human
// AIs don't need a spawnpoint, they must spawn at an empty core
if(character.mind.assigned_role == "AI")
var/mob/living/silicon/ai/ai_character = character.AIize() // AIize the character, but don't move them yet
// IsJobAvailable for AI checks that there is an empty core available in this list