Merge remote-tracking branch 'origin/master' into branch

This commit is contained in:
Applevangelist 2025-05-02 09:35:14 +02:00
commit 23ed39a708
2 changed files with 1 additions and 1 deletions

View File

@ -5662,6 +5662,7 @@ function CTLD:IsUnitInZone(Unit,Zonetype)
if Zonetype == CTLD.CargoZoneType.SHIP then
self:T("Checking Type Ship: "..zonename)
local ZoneUNIT = UNIT:FindByName(zonename)
if not ZoneUNIT then return false end
zonecoord = ZoneUNIT:GetCoordinate()
zoneradius = czone.shiplength
zonewidth = czone.shipwidth

View File

@ -1107,7 +1107,6 @@ function UNIT:GetUnits()
if DCSUnit then
Units[1] = UNIT:Find(DCSUnit)
- self:T3(Units)
return Units
end