don't export when on exit row

This commit is contained in:
Chris Danford
2009-04-05 18:29:38 +00:00
parent 292c744681
commit 934967253f
@@ -143,6 +143,12 @@ void ScreenOptionsExportPackage::ProcessMenuStart( const InputEventPlus &input )
return;
int iCurRow = m_iCurrentRow[GAMESTATE->m_MasterPlayerNumber];
if( m_pRows[iCurRow]->GetRowType() == OptionRow::RowType_Exit )
{
ScreenOptions::ProcessMenuStart( input );
return;
}
RString sDirToExport = m_vsPossibleDirsToExport[ iCurRow ];
RString sPackageName = ReplaceInvalidFileNameChars( sDirToExport + ".smzip" );