Skip to content

Commit

Permalink
fix tts reserving channels (#353)
Browse files Browse the repository at this point in the history
## About The Pull Request
TTS теперь стакается и не прерывается новым сообщением

## Changelog
:cl:
fix: TTS теперь стакается и не прерывается новым сообщением
/:cl:
  • Loading branch information
larentoun authored Jul 13, 2024
1 parent 4070e8f commit 4013a21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modular_bandastation/tts/code/tts_subsystem.dm
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ SUBSYSTEM_DEF(tts220)
/datum/controller/subsystem/tts220/proc/get_local_channel_by_owner(owner)
var/channel = tts_local_channels_by_owner[owner]
if(isnull(channel))
channel = SSsounds.reserve_sound_channel()
channel = SSsounds.reserve_sound_channel(owner)
tts_local_channels_by_owner[owner] = channel
RegisterSignal(owner, COMSIG_QDELETING, PROC_REF(clear_channel))
return channel
Expand Down

0 comments on commit 4013a21

Please sign in to comment.