Skip to content

Commit

Permalink
radio is not local (#140)
Browse files Browse the repository at this point in the history
## About The Pull Request
Забыл добавить рации, что она не локальный звук

## Changelog
:cl:
fix: Рация снова не локальный звук
/:cl:
  • Loading branch information
larentoun authored Apr 19, 2024
1 parent 9b9ce04 commit 1fe8184
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modular_bandastation/tts/code/tts_component.dm
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@
if(!location)
location = parent
if(effect == /datum/singleton/sound_effect/radio)
is_local = FALSE
if(listener == speaker && !issilicon(parent)) // don't hear both radio and whisper from yourself
return

Expand Down

0 comments on commit 1fe8184

Please sign in to comment.