engine: don't update screen when we're only in transition from STATE_RUNFRAME to something else

This commit is contained in:
Alibek Omarov 2019-12-23 06:32:33 +03:00
parent 4a56dfcd00
commit e424112020

View File

@ -352,7 +352,7 @@ void SCR_BeginLoadingPlaque( qboolean is_background )
if( CL_IsInMenu( ) && !cls.changedemo && !is_background )
{
UI_SetActiveMenu( false );
if( cls.state == ca_disconnected )
if( cls.state == ca_disconnected && !(GameState->curstate == STATE_RUNFRAME && GameState->nextstate != STATE_RUNFRAME) )
SCR_UpdateScreen();
}