From d474f2157694b4e07afa5e69823cea872f36795a Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Fri, 7 Jun 2024 23:18:16 +0200 Subject: [PATCH] Add a check for being connected to "connect to client" achievement. --- profiler/src/profiler/TracyView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profiler/src/profiler/TracyView.cpp b/profiler/src/profiler/TracyView.cpp index c25b94fa..dcdd8922 100644 --- a/profiler/src/profiler/TracyView.cpp +++ b/profiler/src/profiler/TracyView.cpp @@ -670,7 +670,7 @@ bool View::DrawImpl() return keepOpen; } - Achieve( "connectToClient" ); + if( m_worker.IsConnected() ) Achieve( "connectToClient" ); Attention( m_attnWorking ); if( !m_uarchSet )