engine: client: detailed message if menu failed to load

This commit is contained in:
Alibek Omarov 2019-11-26 02:47:25 +03:00
parent 3907be3c8f
commit 3a9801853d
1 changed files with 2 additions and 1 deletions

View File

@ -18,6 +18,7 @@ GNU General Public License for more details.
#include "vgui_draw.h"
#include "qfont.h"
#include "input.h"
#include "library.h"
convar_t *scr_centertime;
convar_t *scr_loading;
@ -777,7 +778,7 @@ void SCR_Init( void )
if( !UI_LoadProgs( ))
{
Con_Printf( S_ERROR "can't initialize gameui.dll\n" ); // there is non fatal for us
Con_Printf( S_ERROR "can't initialize gameui DLL: %s\n", COM_GetLibraryError() ); // there is non fatal for us
host.allow_console = true; // we need console, because menu is missing
}