Revert "Prevent the delivery chute from spamming the chute sound when several objects are flushed simultaneously."

This reverts commit a356550d1b.
This commit is contained in:
Melvin Melonstorm
2012-01-25 23:28:39 +01:00
parent a356550d1b
commit 34c09891f6
2 changed files with 1046 additions and 1052 deletions
+2 -8
View File
@@ -316,7 +316,6 @@
desc = "A chute for big and small packages alike!"
density = 0
icon_state = "intake"
var/currentlyFlushing = 0
interact()
return
@@ -352,13 +351,8 @@
air_contents = new() // new empty gas resv.
sleep(10) // Prevent sound spam when several objects are flushed simultaneously.
if(!currentlyFlushing)
currentlyFlushing = 1
playsound(src, 'disposalflush.ogg', 50, 0, 0)
spawn(17) // Sound file is ~3 seconds long, adjust this if it becomes longer/shorter.
currentlyFlushing = 0
sleep(10)
playsound(src, 'disposalflush.ogg', 50, 0, 0)
sleep(5) // wait for animation to finish