mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
Small playsound audit, particularly involving portal sounds (#83893)
## About The Pull Request I was looking at sounds (as you do) and I noticed this  These sounds don't exist We have `portal_open_1`, not `portal_open1`. This wasn't caught on compile because they used `""` and not `''`. So I went through and audited a bunch of playsound uses that don't use `''`. Only one error, fortunately Likewise there was a ton of places running `get_sfx` pointlessly (because `playsound` does it for you) so I clened that up. However while auditing the portal stuff I noticed a few oddities, so I cleaned it up a bit. Also also I added the portal sounds to the wormholes event and gave it a free ™️ optimization because it was an in-world loop ## Changelog 🆑 Melbert sound: Portals made by portal guns now make sounds as expected sound: Wormholes from the wormhole event now make sounds when formed /🆑
This commit is contained in:
@@ -150,7 +150,7 @@
|
||||
else
|
||||
camera_ref = null
|
||||
if(!spying)
|
||||
playsound(computer, get_sfx(SFX_TERMINAL_TYPE), 25, FALSE)
|
||||
playsound(computer, SFX_TERMINAL_TYPE, 25, FALSE)
|
||||
if(isnull(camera_ref))
|
||||
return TRUE
|
||||
if(internal_tracker)
|
||||
|
||||
Reference in New Issue
Block a user