Hook up instrumentation intro achievement.

This commit is contained in:
Bartosz Taudul 2024-06-08 13:31:23 +02:00
parent 7dbb3c592f
commit b38ac8bfef
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -673,7 +673,21 @@ bool View::DrawImpl()
return keepOpen;
}
if( m_achievements )
{
if( m_worker.IsConnected() ) Achieve( "connectToClient" );
const auto& threadData = m_worker.GetThreadData();
for( auto& td : threadData )
{
if( !td->timeline.empty() )
{
Achieve( "instrumentationIntro" );
break;
}
}
}
Attention( m_attnWorking );
if( !m_uarchSet )