| 1037 | * @param {boolean} unrestricted - If true, will include all characters in voiceMapEntries, even if they are not in the current chat. | 1037 | * @param {boolean} unrestricted - If true, will include all characters in voiceMapEntries, even if they are not in the current chat. |
| 1038 | */ | 1038 | */ |
| 1039 | async function initVoiceMapInternal(unrestricted) { | 1039 | async function initVoiceMapInternal(unrestricted) { |
| 1040 | | | |
| 1041 | // Gate initialization if not enabled or TTS Provider not ready. Prevents error popups. | 1040 | // Gate initialization if not enabled or TTS Provider not ready. Prevents error popups. |
| 1042 | const enabled = $('#tts_enabled').is(':checked'); | 1041 | const enabled = $('#tts_enabled').is(':checked'); |
| 1043 | if (!enabled) { | 1042 | if (!enabled) { |