mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-20 05:13:39 -07:00
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:
parent
dbf7fcf775
commit
668040562f
13 changed files with 96 additions and 114 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue