Skip to content

Commit

Permalink
fixed marking monthly challenge as completed on non-Steam builds
Browse files Browse the repository at this point in the history
  • Loading branch information
fallahn committed Sep 21, 2024
1 parent ceb21ac commit 24b55a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions samples/golf/src/golf/MenuCreation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4520,11 +4520,13 @@ void MenuState::updateUnlockedItems()
m_sharedData.unlockedItems.emplace_back().id = ul::UnlockID::MonthlyComplete;
}
}
#ifdef USE_GNS
else if (progress.valid) //we might be trying to read this before results download
{
//make sure to unflag from any previous month
genericFlags &= ~flag;
}
#endif

Social::setUnlockStatus(Social::UnlockType::Generic, genericFlags);
}
Expand Down

0 comments on commit 24b55a3

Please sign in to comment.