[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
|
||||
|
||||
dir = ai.face(target)
|
||||
dist = ai.dist(ai.pos(target))
|
||||
dist = ai.dist(target)
|
||||
bdist = ai.minbrakedist()
|
||||
|
||||
-- Close enough.
|
||||
@ -62,7 +62,7 @@ function flyback()
|
||||
target = mem.escort
|
||||
|
||||
dir = ai.face(target)
|
||||
dist = ai.dist(ai.pos(target))
|
||||
dist = ai.dist(target)
|
||||
bdist = ai.minbrakedist()
|
||||
|
||||
-- Try to brake.
|
||||
|
Loading…
Reference in New Issue
Block a user