From 4013a217f18108e2e8fb19622b9677ab5d2f4f1f Mon Sep 17 00:00:00 2001 From: larentoun <31931237+larentoun@users.noreply.github.com> Date: Sat, 13 Jul 2024 11:53:12 +0300 Subject: [PATCH] fix tts reserving channels (#353) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## About The Pull Request TTS теперь стакается и не прерывается новым сообщением ## Changelog :cl: fix: TTS теперь стакается и не прерывается новым сообщением /:cl: --- modular_bandastation/tts/code/tts_subsystem.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modular_bandastation/tts/code/tts_subsystem.dm b/modular_bandastation/tts/code/tts_subsystem.dm index dee82104e41b2..d0ea9f247945d 100644 --- a/modular_bandastation/tts/code/tts_subsystem.dm +++ b/modular_bandastation/tts/code/tts_subsystem.dm @@ -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