From 77a71abdc7e6db562ec001e070c69a7a7c625b3f Mon Sep 17 00:00:00 2001 From: comma Date: Mon, 2 Apr 2012 23:00:09 +0300 Subject: [PATCH] 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. --- code/datums/shuttle_controller.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/shuttle_controller.dm b/code/datums/shuttle_controller.dm index 4baa14869d5..4a83870df53 100644 --- a/code/datums/shuttle_controller.dm +++ b/code/datums/shuttle_controller.dm @@ -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)