don't export when on exit row
This commit is contained in:
@@ -143,6 +143,12 @@ void ScreenOptionsExportPackage::ProcessMenuStart( const InputEventPlus &input )
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
int iCurRow = m_iCurrentRow[GAMESTATE->m_MasterPlayerNumber];
|
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 sDirToExport = m_vsPossibleDirsToExport[ iCurRow ];
|
||||||
RString sPackageName = ReplaceInvalidFileNameChars( sDirToExport + ".smzip" );
|
RString sPackageName = ReplaceInvalidFileNameChars( sDirToExport + ".smzip" );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user