actually invoke calc_targets
This commit is contained in:
parent
cf48497432
commit
c130f4cf52
@ -460,6 +460,7 @@ function ship_m:constrain(p, dp, pmin, pmax, want)
|
|||||||
-- brake point
|
-- brake point
|
||||||
bp = p + bd + v1
|
bp = p + bd + v1
|
||||||
end
|
end
|
||||||
|
calc_targets()
|
||||||
if bp < pmin then
|
if bp < pmin then
|
||||||
-- undershoot. max thrust,
|
-- undershoot. max thrust,
|
||||||
-- then treat as overshoot
|
-- then treat as overshoot
|
||||||
|
Loading…
Reference in New Issue
Block a user