Skip to content
Snippets Groups Projects
Commit 8d2039c8 authored by Jonathan Ehret's avatar Jonathan Ehret
Browse files

fix for first frame showing not faded out on cluster

parent dd0aed0f
No related branches found
No related tags found
No related merge requests found
......@@ -376,6 +376,13 @@ void USFGameInstance::PrepareWithStudySetup(ASFStudySetup* Setup)
PrepareWithStudySetupAllNodes(ParticipantSequenceNumber, ParticipantID, bRecoverParticipantData);
}
}
//this needs to be done directly to not have one frame at the beginning which is not faded out!
if (IsInitialized())
{
InitFadeHandler(StudySetup->FadeConfig);
}
UpdateHUD("Wait for Start");
}
//Continue / Next Participant / Restart Study
......@@ -434,12 +441,6 @@ void USFGameInstance::PrepareWithStudySetupAllNodes(int NewParticipantSequenceNu
}
}
if (IsInitialized())
{
InitFadeHandler(StudySetup->FadeConfig);
}
UpdateHUD("Wait for Start");
}
void USFGameInstance::PreloadAllMaps(const TArray<USFCondition*>& Conditions)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment