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

This commit is contained in:
Applevangelist
2025-05-02 09:35:14 +02:00
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