mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Fix MenuAttackGroup bug
This commit is contained in:
parent
456636601f
commit
4d0740ca6f
@ -538,7 +538,7 @@ do -- DESIGNATE
|
||||
--- @param Wrapper.Group#GROUP GroupReport
|
||||
function( AttackGroup )
|
||||
|
||||
if self.FlashStatusMenu[AttackGroup] or AttackGroup:GetName() == MenuAttackGroup:GetName() then
|
||||
if self.FlashStatusMenu[AttackGroup] or ( MenuAttackGroup and ( AttackGroup:GetName() == MenuAttackGroup:GetName() ) ) then
|
||||
|
||||
local DetectedReport = REPORT:New( "Targets ready to be designated:" )
|
||||
local DetectedItems = self.Detection:GetDetectedItems()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user