New SRS fixes

This commit is contained in:
Applevangelist
2023-12-25 12:14:18 +01:00
parent c43e6f44fe
commit d010c3a9fa
4 changed files with 10 additions and 9 deletions

View File

@@ -14957,7 +14957,7 @@ function AIRBOSS:SetSRSPilotVoice( Voice, Gender, Culture )
self.PilotRadio.gender = Gender or "male"
self.PilotRadio.culture = Culture or "en-US"
if (not Voice) and self.SRS and self.SRS.google then
if (not Voice) and self.SRS and self.SRS:GetProvider() == MSRS.Provider.GOOGLE then
self.PilotRadio.voice = MSRS.Voices.Google.Standard.en_US_Standard_J
end