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

# Conflicts:
#	code/modules/mob/living/emote.dm
This commit is contained in:
grungussuss
2024-10-17 22:35:02 +03:00
committed by lessthanthree
parent f0b0e02c01
commit 5d8bdc105d
30 changed files with 250 additions and 56 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]*")