Update Airboss.lua

Fixed bug missing end in if statement
This commit is contained in:
Frank 2023-09-05 20:53:02 +02:00
parent 93fd9e5d42
commit 02105b1efc

View File

@ -14792,6 +14792,7 @@ function AIRBOSS:RadioTransmission( radio, call, loud, delay, interval, click, p
end
else
-- SRS transmission
if call.subtitle ~= nil and string.len(call.subtitle) > 1 then
@ -14854,6 +14855,7 @@ function AIRBOSS:RadioTransmission( radio, call, loud, delay, interval, click, p
self.SRSQ:NewTransmission(srstext, call.duration, self.SRS, tstart, 0.1, subgroups, call.subtitle, call.subduration, frequency, modulation, gender, culture, voice, volume, radio.alias)
end
end
end
--- Set SRS voice for the pilot calls.
-- @param #AIRBOSS self