mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Remove the enemy forces multiplier option.
This didn't do what it claimed to (it actually just determines the threshold for whether a control point shoudl be a *preferred* canidate for purchasing ground units), and the income multipliers offer the intended behavior.
This commit is contained in:
@@ -146,7 +146,6 @@ def create_game(campaign_path: Path, blue: str, red: str,
|
||||
start_date=datetime.today(),
|
||||
player_budget=DEFAULT_BUDGET,
|
||||
enemy_budget=DEFAULT_BUDGET,
|
||||
multiplier=1.0,
|
||||
midgame=False,
|
||||
inverted=False,
|
||||
no_carrier=False,
|
||||
|
||||
@@ -81,7 +81,6 @@ class NewGameWizard(QtWidgets.QWizard):
|
||||
enemy_budget=int(self.field("enemy_starting_money")),
|
||||
# QSlider forces integers, so we use 1 to 50 and divide by 10 to
|
||||
# give 0.1 to 5.0.
|
||||
multiplier=self.field("multiplier") / 10,
|
||||
midgame=self.field("midGame"),
|
||||
inverted=self.field("invertMap"),
|
||||
no_carrier=self.field("no_carrier"),
|
||||
@@ -360,10 +359,6 @@ class DifficultyAndAutomationOptions(QtWidgets.QWizardPage):
|
||||
economy_layout = QtWidgets.QVBoxLayout()
|
||||
economy_group.setLayout(economy_layout)
|
||||
|
||||
multiplier = TenthsSpinSlider("Enemy forces multiplier", 1, 50, 10)
|
||||
self.registerField('multiplier', multiplier.spinner)
|
||||
economy_layout.addLayout(multiplier)
|
||||
|
||||
player_income = TenthsSpinSlider("Player income multiplier", 1, 50, 10)
|
||||
self.registerField("player_income_multiplier", player_income.spinner)
|
||||
economy_layout.addLayout(player_income)
|
||||
|
||||
Reference in New Issue
Block a user