Cleans up some antag/event landmark checks (#31129)

This commit is contained in:
ShizCalev
2017-09-30 22:32:04 -04:00
committed by Joan Lung
parent 7d0f9367e8
commit 3358cbb3b6
11 changed files with 32 additions and 56 deletions
+2 -3
View File
@@ -391,9 +391,8 @@ Traitors and the like can also be revived with the previous role mostly intact.
call(/datum/game_mode/proc/equip_syndicate)(new_character)
if("Space Ninja")
var/list/ninja_spawn = list()
for(var/obj/effect/landmark/L in GLOB.landmarks_list)
if(L.name=="carpspawn")
ninja_spawn += L
for(var/obj/effect/landmark/carpspawn/L in GLOB.landmarks_list)
ninja_spawn += L
var/datum/antagonist/ninja/ninjadatum = new_character.mind.has_antag_datum(ANTAG_DATUM_NINJA)
ninjadatum.equip_space_ninja()
if(ninja_spawn.len)