* Added config file loading
This commit is contained in:
Applevangelist
2023-10-14 16:49:55 +02:00
parent c9cad84419
commit 9451956914
4 changed files with 241 additions and 70 deletions

View File

@@ -1524,7 +1524,7 @@ end
-- @param #string GoogleKey Path to Google JSON-Key.
-- @return #ATIS self
function ATIS:SetSRS(PathToSRS, Gender, Culture, Voice, Port, GoogleKey)
if PathToSRS then
if PathToSRS or MSRS.path then
self.useSRS=true
self.msrs=MSRS:New(PathToSRS, self.frequency, self.modulation)
self.msrs:SetGender(Gender)