actually invoke calc_targets

This commit is contained in:
Kistaro Windrider 2024-08-16 19:25:10 -07:00
parent cf48497432
commit c130f4cf52
Signed by: kistaro
SSH Key Fingerprint: SHA256:TBE2ynfmJqsAf0CP6gsflA0q5X5wD5fVKWPsZ7eVUg8

View File

@ -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