change these timers

This commit is contained in:
Fox McCloud
2018-04-29 21:15:42 -04:00
parent 63e2a175fd
commit 6ab3ec48ed
+2 -2
View File
@@ -65,7 +65,7 @@
return
if(!chance || prob(chance))
play(get_sound(looped))
addtimer(src, "sound_loop", mid_length, FALSE, ++looped)
addtimer(CALLBACK(src, .proc/sound_loop, ++looped), mid_length)
/datum/looping_sound/proc/play(soundfile)
var/list/atoms_cache = output_atoms
@@ -93,7 +93,7 @@
if(start_sound)
play(start_sound)
start_wait = start_length
addtimer(src, "sound_loop", start_wait)
addtimer(CALLBACK(src, .proc/sound_loop), start_wait)
/datum/looping_sound/proc/on_stop(looped)
if(end_sound)