mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
parent
c10617e1b0
commit
53c6a17ccb
@ -3692,8 +3692,8 @@ function CTLD:IsUnitInZone(Unit,Zonetype)
|
||||
local zonewidth = 20
|
||||
if Zonetype == CTLD.CargoZoneType.SHIP then
|
||||
self:T("Checking Type Ship: "..zonename)
|
||||
ZoneUNIT = UNIT:FindByName(zonename)
|
||||
zonecoord = zone:GetCoordinate()
|
||||
local ZoneUNIT = UNIT:FindByName(zonename)
|
||||
zonecoord = ZoneUNIT:GetCoordinate()
|
||||
zoneradius = czone.shiplength
|
||||
zonewidth = czone.shipwidth
|
||||
zone = ZONE_UNIT:New( ZoneUNIT:GetName(), ZoneUNIT, zoneradius/2)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user