Autosave Overhaul (#5022)

* Autosave interval based

* Move to save on soft reset, remove adjustable interval

* Use new BeforeExitGame hook to prevent non-existent data problems

* Fix check tracker crash, remove BeforeExitGame hook

* update comment
This commit is contained in:
aMannus 2025-02-14 21:29:22 +01:00 committed by GitHub
commit 668040562f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 96 additions and 114 deletions

View file

@ -1382,7 +1382,9 @@ void UpdateAllAreas() {
}
void UpdateAreas(RandomizerCheckArea area) {
areasFullyChecked[area] = areaChecksGotten[area] == checksByArea.find(area)->second.size();
if (checksByArea.contains(area)) {
areasFullyChecked[area] = areaChecksGotten[area] == checksByArea.find(area)->second.size();
}
}
void UpdateAllOrdering() {