diff --git a/stepmania/src/InputFilter.cpp b/stepmania/src/InputFilter.cpp index af846c978a..42446119a2 100644 --- a/stepmania/src/InputFilter.cpp +++ b/stepmania/src/InputFilter.cpp @@ -131,9 +131,14 @@ void InputFilter::SetButtonComment( const DeviceInput &di, const CString &sComme /* Release all buttons on the given device. */ void InputFilter::ResetDevice( InputDevice device ) { + LockMut(*queuemutex); RageTimer now; - FOREACH_ENUM2( DeviceButton, button ) - ButtonPressed( DeviceInput(device, button, -1, now), false ); + set