Browse Source

fix sweatbox issues

Sven Czarnian 3 years ago
parent
commit
de25092e3b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/PlugIn.cpp

+ 1 - 1
src/PlugIn.cpp

@@ -596,7 +596,7 @@ void PlugIn::OnRadarTargetPositionUpdate(EuroScopePlugIn::CRadarTarget radarTarg
 
     /* validate the correct connection */
     bool validConnection = EuroScopePlugIn::CONNECTION_TYPE_DIRECT == this->GetConnectionType();
-    validConnection |= true == this->m_sweatboxValid && EuroScopePlugIn::CONNECTION_TYPE_SIMULATOR_CLIENT == this->GetConnectionType();
+    validConnection |= true == this->m_sweatboxValid && EuroScopePlugIn::CONNECTION_TYPE_SWEATBOX == this->GetConnectionType();
     validConnection |= true == this->m_playbackValid && EuroScopePlugIn::CONNECTION_TYPE_PLAYBACK == this->GetConnectionType();
     if (false == validConnection)
         return;