Skip to content

Fix Available Checks On Load#5599

Merged
Malkierian merged 2 commits intoHarbourMasters:develop-blairfrom
xxAtrain223:rac-fix2
Jun 23, 2025
Merged

Fix Available Checks On Load#5599
Malkierian merged 2 commits intoHarbourMasters:develop-blairfrom
xxAtrain223:rac-fix2

Conversation

@xxAtrain223
Copy link
Contributor

@xxAtrain223 xxAtrain223 commented Jun 20, 2025

PR #5587 broke Available Checks when first loading into a save. It's because that first RecalculateAvailableChecks happens in the GameInteractor::OnLoadGame hook, which apparently runs before gPlayState gets populated and makes GameInteractor::IsSaveLoaded return false.

This PR fixes that by setting a flag in CheckTrackerLoadGame which then gets unset in CheckTrackerWindow::DrawElement and runs RecalculateAvailableChecks.

Build Artifacts

@Malkierian Malkierian merged commit 17613d1 into HarbourMasters:develop-blair Jun 23, 2025
6 checks passed
ReddestDream pushed a commit to ReddestDream/Shipwright that referenced this pull request Jun 24, 2025
* Setup call to RecalculateAvailableChecks instead of direct call.

* Remove RecalculateAvailableChecks from CheckTrackerSettingsWindow::DrawElement.
krazyjakee pushed a commit to krazyjakee/OOT that referenced this pull request Sep 6, 2025
* Setup call to RecalculateAvailableChecks instead of direct call.

* Remove RecalculateAvailableChecks from CheckTrackerSettingsWindow::DrawElement.
@xxAtrain223 xxAtrain223 deleted the rac-fix2 branch February 2, 2026 01:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants