Crashfix: Don't refesh the screen using prints during engine shutdown.

This commit is contained in:
Robert Beckebans 2022-06-08 21:10:36 +02:00
parent 1d62816a77
commit 131e4f1ce3

View file

@ -409,7 +409,7 @@ This is an out-of-sequence screen update, not the normal game rendering
// DG: added possibility to *not* release mouse in UpdateScreen(), it fucks up the view angle for screenshots
void idCommonLocal::UpdateScreen( bool captureToImage, bool releaseMouse )
{
if( insideUpdateScreen )
if( insideUpdateScreen || com_shuttingDown )
{
return;
}