Changes between Version 1 and Version 2 of Ticket #15457, comment 3


Ignore:
Timestamp:
Nov 4, 2024, 10:24:20 AM (19 hours ago)
Author:
eriktorbjorn

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15457, comment 3

    v1 v2  
    5151I ''think'' what happens is that when the options dialog changes the settings, it checks if there is a setting specifically for the game and gets the default value (false). This is the same as what you're trying to save, so it doesn't think it necessary to explicitly write the setting to the file. When the engine checks the setting, it sees that there is no game-specific setting, so you get the global setting (true).
    5252
    53 If you change the game-specific setting to one where `"subtitles"` is true, the dialog _does_ see that it has changed and writes it to the file. Then when you change it back to voices only, the setting has once again changed, so it writes it to the file. Now everything works as expected.
     53If you change the game-specific setting to one where `"subtitles"` is true, the dialog ''does'' see that it has changed and writes it to the file. Then when you change it back to voices only, the setting has once again changed, so it writes it to the file. Now everything works as expected.