mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-06-06 20:01:23 -04:00
Recalculate Accessible Checks in CheckTrackerLoadGame instead of LoadFile.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
RegionTable_Init();
|
||||
}
|
||||
|
||||
void Teardown() {
|
||||
|
||||
Reference in New Issue
Block a user