mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Update Controllable.lua
Typo in `OptionDisperseOnAttack()`
This commit is contained in:
parent
75849fbfb5
commit
dab486ec99
@ -1832,7 +1832,7 @@ end
|
|||||||
|
|
||||||
do -- Patrol methods
|
do -- Patrol methods
|
||||||
|
|
||||||
--- (GROUND) Patrol iteratively using the waypoints the for the (parent) group.
|
--- (GROUND) Patrol iteratively using the waypoints of the (parent) group.
|
||||||
-- @param #CONTROLLABLE self
|
-- @param #CONTROLLABLE self
|
||||||
-- @return #CONTROLLABLE
|
-- @return #CONTROLLABLE
|
||||||
function CONTROLLABLE:PatrolRoute()
|
function CONTROLLABLE:PatrolRoute()
|
||||||
@ -3817,7 +3817,7 @@ function CONTROLLABLE:OptionDisperseOnAttack(Seconds)
|
|||||||
local Controller = self:_GetController()
|
local Controller = self:_GetController()
|
||||||
if Controller then
|
if Controller then
|
||||||
if self:IsGround() then
|
if self:IsGround() then
|
||||||
self:SetOption(AI.Option.GROUND.id.DISPERSE_ON_ATTACK, seconds)
|
self:SetOption(AI.Option.Ground.id.DISPERSE_ON_ATTACK, seconds)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
return self
|
return self
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user