Fix: Siren sound now not playing after shuttle been recalled.

If you called shuttle and then recalled it, you had to listen to the siren anyway, every 90 seconds till the round end.
This commit is contained in:
comma
2012-04-02 23:00:09 +03:00
parent 07b26ee6b4
commit 77a71abdc7
+1 -1
View File
@@ -95,7 +95,7 @@ datum/shuttle_controller
var/timeleft = timeleft()
if(timeleft > 1e5) // midnight rollover protection
timeleft = 0
if (sound_siren) //playing siren every 90 seconds
if (sound_siren && (direction == 1)) //playing siren every 90 seconds
sound_siren = 0
world << sound('siren.ogg')
spawn(900)