Skip to content
Snippets Groups Projects
Commit f33fafb5 authored by Konstantin Kühlem's avatar Konstantin Kühlem
Browse files

fix(VAReceiverActor): Fix Super::EndPlay not being called if the VA plugin was not started

Closes #138
parent 1287d370
No related branches found
No related tags found
1 merge request!12fix(VAReceiverActor): Fix Super::EndPlay not being called if the VA plugin was not started
...@@ -162,13 +162,11 @@ void AVAReceiverActor::EndPlay(const EEndPlayReason::Type EndPlayReason) ...@@ -162,13 +162,11 @@ void AVAReceiverActor::EndPlay(const EEndPlayReason::Type EndPlayReason)
{ {
RunOnAllNodesEvent.Detach(); RunOnAllNodesEvent.Detach();
if(!FVAPlugin::GetWasStarted()) if(FVAPlugin::GetWasStarted())
{ {
return;
}
DirManager->ResetManager(); DirManager->ResetManager();
HRIRManager->ResetManager(); HRIRManager->ResetManager();
}
Super::EndPlay(EndPlayReason); Super::EndPlay(EndPlayReason);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment