mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
Issue #1753 - when using `AddBombingTargets` the randommove flag was not passed to `AddBombingTargetUnit` for a group object
This commit is contained in:
parent
aaf77815ca
commit
5277cca4e1
@ -1388,7 +1388,7 @@ function RANGE:AddBombingTargets( targetnames, goodhitrange, randommove )
|
||||
elseif _isstatic == false then
|
||||
local _unit = UNIT:FindByName( name )
|
||||
self:T2( self.id .. string.format( "Adding unit bombing target %s with hit range %d.", name, goodhitrange, randommove ) )
|
||||
self:AddBombingTargetUnit( _unit, goodhitrange )
|
||||
self:AddBombingTargetUnit( _unit, goodhitrange, randommove )
|
||||
else
|
||||
self:E( self.id .. string.format( "ERROR! Could not find bombing target %s.", name ) )
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user