mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
#MESSAGE
* SRS label correction
This commit is contained in:
parent
9d500186d1
commit
9d3cb4cc1b
@ -524,7 +524,8 @@ function MESSAGE:ToSRS(frequency,modulation,gender,culture,voice,coalition,volum
|
|||||||
if coordinate then
|
if coordinate then
|
||||||
_MESSAGESRS.MSRS:SetCoordinate(coordinate)
|
_MESSAGESRS.MSRS:SetCoordinate(coordinate)
|
||||||
end
|
end
|
||||||
_MESSAGESRS.SRSQ:NewTransmission(self.MessageText,nil,_MESSAGESRS.MSRS,nil,nil,nil,nil,nil,frequency,modulation,gender or _MESSAGESRS.Gender,culture or _MESSAGESRS.Culture,voice or _MESSAGESRS.Voice,volume,self.MessageCategory)
|
local category = string.gsub(self.MessageCategory,":","")
|
||||||
|
_MESSAGESRS.SRSQ:NewTransmission(self.MessageText,nil,_MESSAGESRS.MSRS,nil,nil,nil,nil,nil,frequency,modulation,gender or _MESSAGESRS.Gender,culture or _MESSAGESRS.Culture,voice or _MESSAGESRS.Voice,volume,category,coordinate)
|
||||||
end
|
end
|
||||||
return self
|
return self
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user