mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 19:13:30 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user