From e87f90b58be50af0a243f99bf50b861260ac8878 Mon Sep 17 00:00:00 2001 From: Furior Date: Sun, 15 Oct 2023 23:48:04 +0700 Subject: [PATCH] voice fix --- code/modules/mob/new_player/new_player.dm | 6 ++++-- modular_ss220/text_to_speech/code/tts_preferences.dm | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/new_player/new_player.dm b/code/modules/mob/new_player/new_player.dm index bb7ed66155fc..25bc1931d9fd 100644 --- a/code/modules/mob/new_player/new_player.dm +++ b/code/modules/mob/new_player/new_player.dm @@ -157,7 +157,8 @@ ready = FALSE return FALSE - check_tts_seed_ready() // SS220 ADDITION + if(!check_tts_seed_ready()) // SS220 ADDITION + return FALSE ready = !ready new_player_panel_proc() @@ -231,7 +232,8 @@ to_chat(src, alert("You are currently not whitelisted to play [client.prefs.active_character.species].")) return FALSE - check_tts_seed_ready() + if(!check_tts_seed_ready()) // SS220 ADDITION + return FALSE LateChoices() diff --git a/modular_ss220/text_to_speech/code/tts_preferences.dm b/modular_ss220/text_to_speech/code/tts_preferences.dm index b5533eebcf04..dba00ddaabe8 100644 --- a/modular_ss220/text_to_speech/code/tts_preferences.dm +++ b/modular_ss220/text_to_speech/code/tts_preferences.dm @@ -105,3 +105,4 @@ to_chat(usr, span_danger("Выбранный голос персонажа более недоступен на текущем уровне подписки!")) client.prefs.ShowChoices(src) return FALSE + return TRUE