Fixes abductor teams getting assigned to same pod (#32859)

* Fixes abductors getting assigned to same team

* Remove explicit null return
This commit is contained in:
AnturK
2017-11-21 02:35:20 +01:00
committed by CitadelStationBot
parent 94046f89da
commit 70c7996986
2 changed files with 11 additions and 2 deletions
+5 -1
View File
@@ -26,7 +26,11 @@
var/mob/living/carbon/human/agent = makeBody(pick_n_take(candidates))
var/mob/living/carbon/human/scientist = makeBody(pick_n_take(candidates))
GM.post_setup_team(GM.make_abductor_team(agent.mind, scientist.mind))
var/team = GM.make_abductor_team(agent.mind, scientist.mind)
if(!team)
return MAP_ERROR
GM.post_setup_team(team)
spawned_mobs += list(agent, scientist)
return SUCCESSFUL_SPAWN