mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
Fixed FireAtPoint bug
This commit is contained in:
parent
c54c3f275f
commit
62930f39b1
@ -956,6 +956,8 @@ function CONTROLLABLE:TaskFireAtPoint( Vec2, Radius )
|
||||
-- params = {
|
||||
-- point = Vec2,
|
||||
-- radius = Distance,
|
||||
-- expendQty = number,
|
||||
-- expendQtyEnabled = boolean,
|
||||
-- }
|
||||
-- }
|
||||
|
||||
@ -964,6 +966,8 @@ function CONTROLLABLE:TaskFireAtPoint( Vec2, Radius )
|
||||
params = {
|
||||
point = Vec2,
|
||||
radius = Radius,
|
||||
expendQty = 100, -- added both parameters to override the bug the apparent custome value of expendQty = 1 and expendQty = true
|
||||
expendQtyEnabled = false, -- -- added both parameters to override the bug the apparent custome value of expendQty = 1 and expendQty = true
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -13466,6 +13466,8 @@ function CONTROLLABLE:TaskFireAtPoint( Vec2, Radius )
|
||||
-- params = {
|
||||
-- point = Vec2,
|
||||
-- radius = Distance,
|
||||
-- expendQty = number,
|
||||
-- expendQtyEnabled = boolean,
|
||||
-- }
|
||||
-- }
|
||||
|
||||
@ -13474,6 +13476,8 @@ function CONTROLLABLE:TaskFireAtPoint( Vec2, Radius )
|
||||
params = {
|
||||
point = Vec2,
|
||||
radius = Radius,
|
||||
expendQty = 100, -- added both parameters to override the bug the apparent custome value of expendQty = 1 and expendQty = true
|
||||
expendQtyEnabled = false, -- -- added both parameters to override the bug the apparent custome value of expendQty = 1 and expendQty = true
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user