mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Don't break out of procurement loop
This commit is contained in:
parent
76a077d38f
commit
5dfba64ac3
@ -219,13 +219,6 @@ class ProcurementAi:
|
|||||||
budget, fulfilled = self.fulfill_aircraft_request(
|
budget, fulfilled = self.fulfill_aircraft_request(
|
||||||
squadrons, request.number, budget
|
squadrons, request.number, budget
|
||||||
)
|
)
|
||||||
if not fulfilled:
|
|
||||||
# The request was not fulfilled because we could not afford any suitable
|
|
||||||
# aircraft. Rather than continuing, which could proceed to buy tons of
|
|
||||||
# cheap escorts that will never allow us to plan a strike package, stop
|
|
||||||
# buying so we can save the budget until a turn where we *can* afford to
|
|
||||||
# fill the package.
|
|
||||||
break
|
|
||||||
return budget
|
return budget
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user