some code organization for playsound(smth, pick('... (#87211)

This commit is contained in:
grungussuss
2024-10-17 22:35:02 +03:00
committed by GitHub
parent d3cd2568bd
commit 63bd34eff7
30 changed files with 249 additions and 55 deletions
@@ -559,7 +559,10 @@
if(!use_energy())
return
if(HAS_TRAIT(SSstation, STATION_TRAIT_PDA_GLITCHED))
playsound(src, pick('sound/machines/beep/twobeep_voice1.ogg', 'sound/machines/beep/twobeep_voice2.ogg'), 50, TRUE)
playsound(src, pick(
'sound/machines/beep/twobeep_voice1.ogg',
'sound/machines/beep/twobeep_voice2.ogg',
), 50, TRUE)
else
playsound(src, 'sound/machines/beep/twobeep_high.ogg', 50, TRUE)
audible_message("*[ringtone]*")