mirror of
https://github.com/weyne85/DML.git
synced 2025-10-29 16:57:49 +00:00
Version 2.4.1
jtacGrpUI, lase code and CA integration. Fogger supports local alt
This commit is contained in:
@@ -607,7 +607,7 @@ end
|
||||
|
||||
-- getting closest owned zones etc
|
||||
-- required for groundTroops and factory attackers
|
||||
-- methods provided only for other modules (e.g. cfxGroundTroops or
|
||||
-- methods provided only for other modules (e.g. cfxGroundTroops, jtacGrpGUI or
|
||||
-- factoryZone
|
||||
--
|
||||
|
||||
@@ -658,7 +658,7 @@ function cfxOwnedZones.collectZones(mode)
|
||||
end
|
||||
end
|
||||
|
||||
-- getNearestOwnedZoneToPoint invoked by heloTroops
|
||||
-- getNearestOwnedZoneToPoint invoked by heloTroops and jtacGUI
|
||||
function cfxOwnedZones.getNearestOwnedZoneToPoint(p)
|
||||
local allZones = cfxOwnedZones.collectZones()
|
||||
return cfxZones.getClosestZone(p, allZones)
|
||||
|
||||
Reference in New Issue
Block a user