mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2026-07-16 14:12:47 +00:00
xx
This commit is contained in:
@@ -1119,12 +1119,11 @@ function TARS_SESSION:FindTargets()
|
||||
local searchzone = self.searchzone -- Core.Zone#ZONE_BASE
|
||||
or ZONE_RADIUS:New("TARS Debug", coordinate:GetVec2(), scan_radius)
|
||||
|
||||
--if searchzone then
|
||||
if searchzone.DrawID then searchzone:UndrawZone() end
|
||||
searchzone:UpdateFromVec2(coordinate:GetVec2(), scan_radius)
|
||||
searchzone:DrawZone(-1, {0, 0, 1}, 1, {0, 1, 0}, .2, 2, true)
|
||||
self.searchzone = searchzone
|
||||
--end
|
||||
if searchzone.DrawID then searchzone:UndrawZone() end
|
||||
searchzone:UpdateFromVec2(coordinate:GetVec2(), scan_radius)
|
||||
searchzone:DrawZone(-1, {0, 0, 1}, 1, {0, 1, 0}, .2, 2, true)
|
||||
self.searchzone = searchzone
|
||||
self:ScheduleOnce(30, ZONE_BASE.UndrawZone, searchzone)
|
||||
end
|
||||
|
||||
if self.PilotParameterHelper == true then
|
||||
|
||||
Reference in New Issue
Block a user