diff --git a/stepmania/src/ScreenEdit.cpp b/stepmania/src/ScreenEdit.cpp index 4391211a41..7aa2986372 100644 --- a/stepmania/src/ScreenEdit.cpp +++ b/stepmania/src/ScreenEdit.cpp @@ -1427,7 +1427,7 @@ void ScreenEdit::HandleScreenMessage( const ScreenMessage SM ) // Don't allow an autogen match. This can't be what they chose to // edit originally because autogen steps are hidden. - if( pSteps->IsAutogen() ) + if( pSteps && pSteps->IsAutogen() ) pSteps = NULL; /* If we couldn't find the steps we were on before, warn and use the first available. */