Changes between Version 1 and Version 2 of Ticket #13432, comment 7


Ignore:
Timestamp:
05/24/22 04:10:08 (2 years ago)
Author:
macca8

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #13432, comment 7

    v1 v2  
    77The solution is to add back the SaveType-test (by calling isAutosave()), except this time it should be called after the name-test (i.e. after hasAutosaveName()).
    88
    9 Probably doesn’t matter with the Options dialog because all tests have to be completed, but testing for the in-game dialog need only continue until one of the tests returns true (which requires tests to be completed in a logical order).
     9The order probably doesn’t matter with the Options dialog because all tests have to be completed, but testing for the in-game dialog need only continue until one of the tests returns true (which requires tests to be completed in a logical order).
    1010
    1111Following this change, hasAutosaveName() will continue to test the dummy autosave, but if it returns false, it will be offset by isAutosave() returning true (if autosaving is enabled), eliminating it from any possible inclusion in either dialog.
    1212
    13 The overall effect of this is that the dummy autosave is ignored when autosaving, regardless of its name, as it should be. It has no adverse effect on user saves as they always return a SaveType of false.
     13The overall effect of this is that the dummy autosave is ignored when autosaving, regardless of its name, as it should be. It has no adverse effect on user saves as they always return a SaveType-test result of false.
    1414
    1515There’s only one change required for each dialog, and the location and proposed change for each are as follows:
     
    2828It’s a pretty trivial fix by your standards, but I haven’t been able to test this, so if you agree with what I’ve proposed, and can find the time, please consider implementing it as a viable solution.
    2929
    30 Thanks for your interest.
     30Hope this helps, and thanks for clarifying things.