This commit is contained in:
FlightControl
2019-06-19 05:17:51 +03:00
parent 9c0c4a11b1
commit b1cee9969f
2 changed files with 3 additions and 3 deletions

View File

@@ -2848,7 +2848,7 @@ function SPAWN:_Prepare( SpawnTemplatePrefix, SpawnIndex ) --R2.2
-- Callsign
for UnitID = 1, #SpawnTemplate.units do
local Callsign = SpawnTemplate.units[UnitID].callsign
if Callsign[1] ~= nil then -- blue callsign
if type(Callsign) ~= "number" then -- blue callsign
Callsign[2] = ( ( SpawnIndex - 1 ) % 10 ) + 1
local CallsignName = SpawnTemplate.units[UnitID].callsign["name"] -- #string
local CallsignLen = CallsignName:len()