From 756ddd3b05463a5e40fae2cf622f7f68791a0b8e Mon Sep 17 00:00:00 2001 From: "petethegoat@gmail.com" Date: Sat, 12 Jan 2013 19:25:35 +0000 Subject: [PATCH] Reverting some alien infestation checks that meant that no aliens would spawn if the event wanted two aliens, but there was only one candidate. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5531 316c924e-a436-60f5-8080-3fe189b3f50e --- code/modules/events/alien_infestation.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/events/alien_infestation.dm b/code/modules/events/alien_infestation.dm index 4a47cd98adb..f2b0357ddd6 100644 --- a/code/modules/events/alien_infestation.dm +++ b/code/modules/events/alien_infestation.dm @@ -25,7 +25,7 @@ var/list/candidates = get_alien_candidates() - while(spawncount > 0 && vents.len >= spawncount && candidates.len >= spawncount) + while(spawncount > 0 && vents.len && candidates.len) var/obj/vent = pick(vents) var/candidate = pick(candidates)