mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Merge pull request #1398 from Applevangelist/patch-20
Error in FlightGroup.lua in line 2390 as detected by HRP Zero
This commit is contained in:
commit
362b242c41
@ -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