diff --git a/stepmania/src/CodeDetector.cpp b/stepmania/src/CodeDetector.cpp index 3a6171ce1d..e80a1fbcd8 100644 --- a/stepmania/src/CodeDetector.cpp +++ b/stepmania/src/CodeDetector.cpp @@ -140,7 +140,7 @@ void RefreshCacheItem( int iIndex ) if( asButtonNames.size() < 2 ) { - if( sCodeName != "" ) + if( sButtonsNames != "" ) LOG->Trace( "The code '%s' is less than 2 buttons, so it will be ignored.", sCodeName.c_str() ); item.iNumButtons = 0; return;