Merge pull request #2177 from DarthZyll/patch-5

Update CSAR.lua for BeaconName being built incorrectly
This commit is contained in:
Thomas 2024-09-26 06:54:20 +02:00 committed by GitHub
commit 7cce5745af
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -841,9 +841,9 @@ function CSAR:_AddCsar(_coalition , _country, _point, _typeName, _unitName, _pla
local BeaconName
if _playerName then
BeaconName = _unitName..math.random(1,10000)
elseif _unitName then
BeaconName = _playerName..math.random(1,10000)
elseif _unitName then
BeaconName = _unitName..math.random(1,10000)
else
BeaconName = "Ghost-1-1"..math.random(1,10000)
end