Merge pull request #2235 from FlightControl-Master/master

merge from master
This commit is contained in:
Thomas
2025-01-29 15:31:29 +01:00
committed by GitHub
3 changed files with 25 additions and 2 deletions

View File

@@ -387,7 +387,7 @@ function CLEANUP_AIRBASE.__:CleanUpSchedule()
local CleanUpUnit = CleanUpListData.CleanUpUnit -- Wrapper.Unit#UNIT
local CleanUpGroupName = CleanUpListData.CleanUpGroupName
if CleanUpUnit:IsAlive() ~= nil then
if CleanUpUnit and CleanUpUnit:IsAlive() ~= nil then
if self:IsInAirbase( CleanUpUnit:GetVec2() ) then