diff --git a/stepmania/src/StepMania.cpp b/stepmania/src/StepMania.cpp index 1d5e3e7e1c..08f103cbee 100644 --- a/stepmania/src/StepMania.cpp +++ b/stepmania/src/StepMania.cpp @@ -216,12 +216,12 @@ void ShutdownGame() * up the call stack, to avoid having to use exceptions. */ void HandleException( CString error ) { - /* Shut down first, so we exit graphics mode before trying to open a dialog. */ - ShutdownGame(); - if( g_bAutoRestart ) HOOKS->RestartProgram(); + /* Shut down first, so we exit graphics mode before trying to open a dialog. */ + ShutdownGame(); + /* Throw up a pretty error dialog. */ Dialog::Error( error );