Update Airboss.lua

- Potential fix for error raised on discord
This commit is contained in:
Frank 2024-01-03 22:32:37 +01:00
parent db6dc7b77e
commit 9b95e71d75

View File

@ -15606,6 +15606,11 @@ function AIRBOSS:_Number2Radio( radio, number, delay, interval, pilotcall )
Sender = "PilotCall"
end
if Sender=="" then
self:E( self.lid .. string.format( "ERROR: Sender unknown!") )
return
end
-- Split string into characters.
local numbers = _split( number )