mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
Error in FlightGroup.lua in line 2390 as detected by HRP Zero
Not searching in Paris, but in pairs :)
This commit is contained in:
parent
bfaca75a7d
commit
e3c14678e2
@ -2387,7 +2387,7 @@ function FLIGHTGROUP:onafterEngageTargets(From, Event, To, TargetUnitSet)
|
||||
|
||||
local DCSTasks={}
|
||||
|
||||
for _,_unit in paris(TargetUnitSet:GetSet()) do
|
||||
for _,_unit in pairs(TargetUnitSet:GetSet()) do --detected by =HRP= Zero
|
||||
local unit=_unit --Wrapper.Unit#UNIT
|
||||
local task=self.group:TaskAttackUnit(unit, true)
|
||||
table.insert(DCSTasks)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user