Radio sounds on send

Radio sounds on send
This commit is contained in:
QuoteFox
2020-12-28 21:14:23 +00:00
parent 3a59ef3d3d
commit 205879e74e
2 changed files with 2 additions and 0 deletions
+2
View File
@@ -202,6 +202,8 @@ GLOBAL_LIST_INIT(department_radio_keys, list(
var/radio_return = radio(message, message_mode, spans, language)
if(radio_return & ITALICS)
spans |= SPAN_ITALICS
if (client?.prefs.radiosounds)
playsound_local(src,'sound/voice/radioin.ogg', 30, 1)
if(radio_return & REDUCE_RANGE)
message_range = 1
if(radio_return & NOPASS)