mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Allow 0 income multiplier in game settings windows (this was already possible in new game wizard)
This commit is contained in:
parent
6e0ff6c805
commit
3db275414d
@ -213,14 +213,14 @@ class QSettingsWindow(QDialog):
|
|||||||
|
|
||||||
self.player_income = TenthsSpinSlider(
|
self.player_income = TenthsSpinSlider(
|
||||||
"Player income multiplier",
|
"Player income multiplier",
|
||||||
1,
|
0,
|
||||||
50,
|
50,
|
||||||
int(self.game.settings.player_income_multiplier * 10),
|
int(self.game.settings.player_income_multiplier * 10),
|
||||||
)
|
)
|
||||||
self.player_income.spinner.valueChanged.connect(self.applySettings)
|
self.player_income.spinner.valueChanged.connect(self.applySettings)
|
||||||
self.enemy_income = TenthsSpinSlider(
|
self.enemy_income = TenthsSpinSlider(
|
||||||
"Enemy income multiplier",
|
"Enemy income multiplier",
|
||||||
1,
|
0,
|
||||||
50,
|
50,
|
||||||
int(self.game.settings.enemy_income_multiplier * 10),
|
int(self.game.settings.enemy_income_multiplier * 10),
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user