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

do not keep on opening error windows, but just do it once

parent 91536aa7
No related branches found
No related tags found
No related merge requests found
......@@ -59,8 +59,12 @@ void UVAAbstractSourceComponent::TickComponent(const float DeltaTime, const ELev
}
if (!bInitialized)
{
if(!bInformedNotInitialized)
{
FVAUtils::OpenMessageBox("[UVASourceComponent::TickComponent()]: Sound source is not initialized", true);
bInformedNotInitialized = true;
}
return;
}
......
......@@ -198,6 +198,7 @@ protected:
// Class data
bool bFirstTick = true;
bool bInitialized = false;
bool bInformedNotInitialized = false;
float TimeSinceUpdate;
bool ShouldSendCommand() const;
float Timer;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment