This commit is contained in:
Applevangelist
2023-11-04 17:26:28 +01:00
parent 1064f2123b
commit 7a97fed8a1
2 changed files with 1 additions and 14 deletions

View File

@@ -524,6 +524,7 @@ function MESSAGE:ToSRS(frequency,modulation,gender,culture,voice,coalition,volum
if coordinate then
_MESSAGESRS.MSRS:SetCoordinate(coordinate)
end
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,self.MessageCategory)
end
return self