[Fix] Should fix the escort ai from blowing to pieces.
This commit is contained in:
parent
652ebbb3d0
commit
b3ad2671c0
@ -25,7 +25,7 @@ function escort()
|
|||||||
end
|
end
|
||||||
|
|
||||||
dir = ai.face(target)
|
dir = ai.face(target)
|
||||||
dist = ai.dist(ai.pos(target))
|
dist = ai.dist(target)
|
||||||
bdist = ai.minbrakedist()
|
bdist = ai.minbrakedist()
|
||||||
|
|
||||||
-- Close enough.
|
-- Close enough.
|
||||||
@ -62,7 +62,7 @@ function flyback()
|
|||||||
target = mem.escort
|
target = mem.escort
|
||||||
|
|
||||||
dir = ai.face(target)
|
dir = ai.face(target)
|
||||||
dist = ai.dist(ai.pos(target))
|
dist = ai.dist(target)
|
||||||
bdist = ai.minbrakedist()
|
bdist = ai.minbrakedist()
|
||||||
|
|
||||||
-- Try to brake.
|
-- Try to brake.
|
||||||
|
Loading…
Reference in New Issue
Block a user