Merge pull request #8416 from PsiOmegaDelta/Ninjas

Fixes ninja spawn logic.
This commit is contained in:
Zuhayr
2015-03-10 09:27:11 +10:30
2 changed files with 7 additions and 7 deletions
+6 -6
View File
@@ -32,15 +32,15 @@
if(L.name == "carpspawn")
ninjastart.Add(L)
if(ninjastart.len == 0 && latejoin.len > 0)
ninja.current << "<B>\red No spawneable locations could be found. Defaulting to latejoin.</B>"
if(ninjastart.len)
return 1
else
ninja.current << "<B>\red No spawneable locations could be found. Aborting.</B>"
return 0
if(ninjastart.len == 0 && latejoin.len > 0)
ninja.current << "<B>\red No spawn locations could be found. Defaulting to late-join locations.</B>"
return 1
ninja.current << "<B>\red No spawn locations could be found. Aborting.</B>"
return 0
/datum/game_mode/ninja/pre_setup()
for(var/datum/mind/ninja in ninjas)
ninja.current << browse(null, "window=playersetup")
+1 -1
View File
@@ -117,7 +117,7 @@
/obj/effect/landmark/start/ninja/New()
..()
ninjastart += loc
ninjastart += src
//Costume spawner landmarks