Skip to content

Commit

Permalink
#MESSAGE
Browse files Browse the repository at this point in the history
* SRS label correction
  • Loading branch information
Applevangelist committed Nov 5, 2023
1 parent 9d50018 commit 9d3cb4c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Moose Development/Moose/Core/Message.lua
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,8 @@ function MESSAGE:ToSRS(frequency,modulation,gender,culture,voice,coalition,volum
if coordinate then
_MESSAGESRS.MSRS:SetCoordinate(coordinate)
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
return self
end
Expand Down

0 comments on commit 9d3cb4c

Please sign in to comment.