mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-20 21:33:40 -07:00
Recalculate Accessible Checks in CheckTrackerLoadGame instead of LoadFile.
This commit is contained in:
parent
2ccac795d1
commit
8e0649eda5
1 changed files with 2 additions and 5 deletions
|
@ -532,6 +532,7 @@ void CheckTrackerLoadGame(int32_t fileNum) {
|
|||
UpdateAllOrdering();
|
||||
UpdateInventoryChecks();
|
||||
UpdateFilters();
|
||||
RecalculateAccessibleChecks();
|
||||
}
|
||||
|
||||
void CheckTrackerShopSlotChange(uint8_t cursorSlot, int16_t basePrice) {
|
||||
|
@ -839,11 +840,7 @@ void LoadFile() {
|
|||
SaveManager::Instance->LoadData("areasSpoiled", areasSpoiled, (uint32_t)0);
|
||||
UpdateAllOrdering();
|
||||
UpdateAllAreas();
|
||||
|
||||
if (gSaveContext.fileNum >= 0 && gSaveContext.fileNum <= 2) {
|
||||
RegionTable_Init();
|
||||
RecalculateAccessibleChecks();
|
||||
}
|
||||
}
|
||||
|
||||
void Teardown() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue