mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fix unculled zones not updating when needed.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1034.
This commit is contained in:
@@ -169,6 +169,8 @@ class AutoSettingsLayout(QGridLayout):
|
||||
) -> None:
|
||||
def on_changed(value: int) -> None:
|
||||
self.settings.__dict__[name] = value
|
||||
if description.causes_expensive_game_update:
|
||||
self.write_full_settings()
|
||||
|
||||
spinner = QSpinBox()
|
||||
spinner.setMinimum(description.min)
|
||||
@@ -354,7 +356,7 @@ class QSettingsWindow(QDialog):
|
||||
self.cheat_options.show_base_capture_cheat
|
||||
)
|
||||
|
||||
self.game.compute_conflicts_position()
|
||||
self.game.compute_unculled_zones()
|
||||
GameUpdateSignal.get_instance().updateGame(self.game)
|
||||
|
||||
def onSelectionChanged(self):
|
||||
|
||||
Reference in New Issue
Block a user