From 6ccfd499c8976903086f9e83f1eb6d04cc9c7044 Mon Sep 17 00:00:00 2001 From: Frank Date: Sun, 10 Sep 2023 22:42:39 +0200 Subject: [PATCH] Update SRS.lua - Fixed bug in GRPC backend --- Moose Development/Moose/Sound/SRS.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Moose Development/Moose/Sound/SRS.lua b/Moose Development/Moose/Sound/SRS.lua index 8405c4e67..207f0177a 100644 --- a/Moose Development/Moose/Sound/SRS.lua +++ b/Moose Development/Moose/Sound/SRS.lua @@ -634,7 +634,7 @@ function MSRS:Help() end --- Sets an alternate SRS backend to be used by MSRS to transmit over SRS for all new MSRS class instances. --- @param #table A table containing a table `Functions` with new/replacement class functions and `Vars` with new/replacement variables. +-- @param #table Backend A table containing a table `Functions` with new/replacement class functions and `Vars` with new/replacement variables. -- @return #boolean Returns 'true' on success. function MSRS.SetDefaultBackend(Backend) if type(Backend) == "table" then @@ -1194,7 +1194,7 @@ MSRS_BACKEND_DCSGRPC.Functions.PlayTextExt = function (self, Text, Delay, Freque if Delay and Delay>0 then self:ScheduleOnce(Delay, self.PlayTextExt, self, Text, 0, Frequencies, Modulations, Gender, Culture, Voice, Volume, Label) else - self:_DCSgRPCtts(tostring(Text, nil, Frequencies, Voice, Label)) + self:_DCSgRPCtts(tostring(Text), nil, Frequencies, Voice, Label) end return self