Merge branch 'master' into develop

This commit is contained in:
Frank 2020-10-31 21:21:47 +01:00
commit 45c153f7a0
2 changed files with 2 additions and 2 deletions

View File

@ -341,7 +341,7 @@ do
-- @return #SPOT
function SPOT:onafterLaseOff( From, Event, To )
self:F( {"Stopped lasing for ", self.Target:GetName() , SpotIR = self.SportIR, SpotLaser = self.SpotLaser } )
self:F( {"Stopped lasing for ", self.Target and self.Target:GetName() or "coord", SpotIR = self.SportIR, SpotLaser = self.SpotLaser } )
self.Lasing = false

View File

@ -7875,7 +7875,7 @@ end
function AIRBOSS:_RemoveUnitFromFlight(unit)
-- Check if unit exists.
if unit then
if unit and unit:IsInstanceOf("UNIT") then
-- Get group.
local group=unit:GetGroup()