diff --git a/code/modules/recycling/disposal.dm b/code/modules/recycling/disposal.dm index 9fd27db3370..df2442af7ed 100644 --- a/code/modules/recycling/disposal.dm +++ b/code/modules/recycling/disposal.dm @@ -1212,6 +1212,7 @@ var/active = 0 var/turf/target // this will be where the output objects are 'thrown' to. var/mode = 0 + var/start_eject = 0 New() ..() @@ -1229,10 +1230,13 @@ proc/expel(var/obj/structure/disposalholder/H) flick("outlet-open", src) - playsound(src, 'sound/machines/warning-buzzer.ogg', 50, 0, 0) - sleep(20) //wait until correct animation frame - playsound(src, 'sound/machines/hiss.ogg', 50, 0, 0) - + if((start_eject + 30) < world.time) + start_eject = world.time + playsound(src, 'sound/machines/warning-buzzer.ogg', 50, 0, 0) + sleep(20) + playsound(src, 'sound/machines/hiss.ogg', 50, 0, 0) + else + sleep(20) if(H) for(var/atom/movable/AM in H) AM.loc = src.loc diff --git a/code/modules/recycling/sortingmachinery.dm b/code/modules/recycling/sortingmachinery.dm index 5edda0037b3..357d4032e90 100644 --- a/code/modules/recycling/sortingmachinery.dm +++ b/code/modules/recycling/sortingmachinery.dm @@ -212,6 +212,7 @@ density = 1 icon_state = "intake" + var/start_flush = 0 var/c_mode = 0 New() @@ -267,7 +268,9 @@ air_contents = new() // new empty gas resv. sleep(10) - playsound(src, 'sound/machines/disposalflush.ogg', 50, 0, 0) + if((start_flush + 15) < world.time) + start_flush = world.time + playsound(src, 'sound/machines/disposalflush.ogg', 50, 0, 0) sleep(5) // wait for animation to finish H.init(src) // copy the contents of disposer to holder