Achievements: Fix crash loading state with RAIntegration

This commit is contained in:
Stenzek 2023-01-29 00:55:52 +10:00
parent e88214966f
commit 58a5985f1a

View file

@ -734,7 +734,7 @@ bool Achievements::DoState(StateWrapper& sw)
{
// if we're active, make sure we've downloaded and activated all the achievements
// before deserializing, otherwise that state's going to get lost.
if (s_http_downloader->HasAnyRequests())
if (!IsUsingRAIntegration() && s_http_downloader->HasAnyRequests())
{
Host::DisplayLoadingScreen("Downloading achievements data...");
s_http_downloader->WaitForAllRequests();