Fixed nuke rounds not ending if the nuke isn't detonated.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@176 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
n3ophyt3@gmail.com
2010-09-26 05:15:11 +00:00
parent 26bc2276f4
commit 7181e4f01b
+7 -1
View File
@@ -142,7 +142,13 @@ var/global/datum/controller/gameticker/ticker
spawn
declare_completion()
if(ticker.mode.name != "nuclear emergency")
var/noboom = 0
if(ticker.mode.name == "nuclear emergency")
var/datum/game_mode/nuclear/bam = ticker.mode
if (bam.nuke_detonated == 0)
noboom = 1
if(ticker.mode.name != "nuclear emergency" || noboom)
spawn(50)
world << "\blue <B>Restarting in 25 seconds</B>"