diff --git a/radiant/preferences.cpp b/radiant/preferences.cpp index 152025d..8e0e594 100644 --- a/radiant/preferences.cpp +++ b/radiant/preferences.cpp @@ -3389,6 +3389,9 @@ void CGameInstall::BuildDialog() { void CGameInstall::Run() { ScanGames(); + if (m_availGames[0] == GAME_NONE) { + return; + } if ( DoModal() == IDCANCEL ) { Sys_Printf( "game dialog cancelled\n" ); return; @@ -3565,5 +3568,7 @@ void CGameInstall::ScanGames() { m_availGames[ iGame++ ] = GAME_JA; } } + Sys_Printf("No installable games found in: %s\n", + pakPaths.GetBuffer() ); }