mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-10 14:52:00 +00:00
* Don't start UI when starting client binary with +set dedicated 1
This commit is contained in:
parent
9d469692f3
commit
391bb74c44
1 changed files with 4 additions and 4 deletions
|
@ -1526,10 +1526,6 @@ void CL_Connect_f( void ) {
|
|||
CL_Disconnect( qtrue );
|
||||
Con_Close();
|
||||
|
||||
/* MrE: 2000-09-13: now called in CL_DownloadsComplete
|
||||
CL_FlushMemory( );
|
||||
*/
|
||||
|
||||
Q_strncpyz( cls.servername, server, sizeof(cls.servername) );
|
||||
|
||||
if (!NET_StringToAdr(cls.servername, &clc.serverAddress, family) ) {
|
||||
|
@ -2755,6 +2751,10 @@ void CL_StartHunkUsers( qboolean rendererOnly ) {
|
|||
S_BeginRegistration();
|
||||
}
|
||||
|
||||
if( com_dedicated->integer ) {
|
||||
return;
|
||||
}
|
||||
|
||||
if ( !cls.uiStarted ) {
|
||||
cls.uiStarted = qtrue;
|
||||
CL_InitUI();
|
||||
|
|
Loading…
Reference in a new issue