Skip to content
Snippets Groups Projects
Commit e1d8f835 authored by jonathan.ehret's avatar jonathan.ehret
Browse files

Fix errors on no participants initialized yet

parent e0c38a5b
No related branches found
No related tags found
No related merge requests found
...@@ -151,6 +151,7 @@ void USFGameInstance::OnWorldStart() ...@@ -151,6 +151,7 @@ void USFGameInstance::OnWorldStart()
void USFGameInstance::OnPostWorldCreation(UWorld* World) void USFGameInstance::OnPostWorldCreation(UWorld* World)
{ {
//this is actually called before BeginPlay but after EndPlay of the world before, so actually switch the current condition just here //this is actually called before BeginPlay but after EndPlay of the world before, so actually switch the current condition just here
if(Participant)
Participant->ApplyNextCondition(); Participant->ApplyNextCondition();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment