From e424112020d3e8b8bb72fcabb060ee19b4011722 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Mon, 23 Dec 2019 06:32:33 +0300 Subject: [PATCH] engine: don't update screen when we're only in transition from STATE_RUNFRAME to something else --- engine/client/cl_scrn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/client/cl_scrn.c b/engine/client/cl_scrn.c index b5c5468e..8297738f 100644 --- a/engine/client/cl_scrn.c +++ b/engine/client/cl_scrn.c @@ -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(); }