mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
@@ -634,7 +634,7 @@ function MSRS:Help()
|
|||||||
end
|
end
|
||||||
|
|
||||||
--- Sets an alternate SRS backend to be used by MSRS to transmit over SRS for all new MSRS class instances.
|
--- 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.
|
-- @return #boolean Returns 'true' on success.
|
||||||
function MSRS.SetDefaultBackend(Backend)
|
function MSRS.SetDefaultBackend(Backend)
|
||||||
if type(Backend) == "table" then
|
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
|
if Delay and Delay>0 then
|
||||||
self:ScheduleOnce(Delay, self.PlayTextExt, self, Text, 0, Frequencies, Modulations, Gender, Culture, Voice, Volume, Label)
|
self:ScheduleOnce(Delay, self.PlayTextExt, self, Text, 0, Frequencies, Modulations, Gender, Culture, Voice, Volume, Label)
|
||||||
else
|
else
|
||||||
self:_DCSgRPCtts(tostring(Text, nil, Frequencies, Voice, Label))
|
self:_DCSgRPCtts(tostring(Text), nil, Frequencies, Voice, Label)
|
||||||
end
|
end
|
||||||
|
|
||||||
return self
|
return self
|
||||||
|
|||||||
Reference in New Issue
Block a user