mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 14:39:58 +01:00
[MIRROR] Tram door sounds hotfix [NO GBP] [MDB IGNORE] (#20483)
* Tram door sounds hotfix [NO GBP] (#74634) ## About The Pull Request Tram door needs the vary arg to be FALSE, not TRUE or it sounds weird. Also made it a little quieter. ## Changelog 🆑 LT3 fix: Tram doors no longer play 8 variations of the same sound simultaneously /🆑 * Tram door sounds hotfix [NO GBP] --------- Co-authored-by: lessthanthree <83487515+lessthnthree@users.noreply.github.com>
This commit is contained in:
co-authored by
lessthanthree
parent
ba4d7a6bd6
commit
786e89856e
@@ -58,7 +58,7 @@
|
||||
return TRUE
|
||||
switch(command)
|
||||
if("open")
|
||||
playsound(src, 'sound/machines/tramopen.ogg', 100, TRUE)
|
||||
playsound(src, 'sound/machines/tramopen.ogg', vol = 75, vary = FALSE, extrarange = SHORT_RANGE_SOUND_EXTRARANGE)
|
||||
do_animate("opening")
|
||||
icon_state ="[base_state]open"
|
||||
sleep(7 DECISECONDS)
|
||||
@@ -67,9 +67,9 @@
|
||||
if("close")
|
||||
if((obj_flags & EMAGGED) || malfunctioning)
|
||||
flick("[base_state]spark", src)
|
||||
playsound(src, SFX_SPARKS, 75, TRUE, SHORT_RANGE_SOUND_EXTRARANGE)
|
||||
playsound(src, SFX_SPARKS, vol = 75, vary = FALSE, extrarange = SHORT_RANGE_SOUND_EXTRARANGE)
|
||||
sleep(6 DECISECONDS)
|
||||
playsound(src, 'sound/machines/tramclose.ogg', 100, TRUE)
|
||||
playsound(src, 'sound/machines/tramclose.ogg', vol = 75, vary = FALSE, extrarange = SHORT_RANGE_SOUND_EXTRARANGE)
|
||||
do_animate("closing")
|
||||
icon_state = base_state
|
||||
sleep(19 DECISECONDS)
|
||||
|
||||
Reference in New Issue
Block a user