diff --git a/src/ScreenEdit.cpp b/src/ScreenEdit.cpp index ac98d5c18e..e0c805a5ad 100644 --- a/src/ScreenEdit.cpp +++ b/src/ScreenEdit.cpp @@ -3242,6 +3242,7 @@ static LocalizedString SAVE_CHANGES_BEFORE_EXITING ( "ScreenEdit", "Do you want void ScreenEdit::HandleMainMenuChoice( MainMenuChoice c, const vector &iAnswers ) { + GAMESTATE->SetProcessedTimingData(&m_pSteps->m_Timing); switch( c ) { DEFAULT_FAIL( c ); @@ -3460,6 +3461,7 @@ void ScreenEdit::HandleMainMenuChoice( MainMenuChoice c, const vector &iAns } break; }; + GAMESTATE->SetProcessedTimingData(NULL); } void ScreenEdit::HandleAreaMenuChoice( AreaMenuChoice c, const vector &iAnswers, bool bAllowUndo )