Fix crash when graphics init failed (fixes #5237)

This commit is contained in:
Dennis Felsing 2022-05-26 13:02:07 +02:00
parent 8e3d5c1b59
commit ac2657bfce

View file

@ -449,6 +449,7 @@ CGameConsole::CGameConsole() :
CGameConsole::~CGameConsole()
{
if(m_pConsoleLogger)
m_pConsoleLogger->OnConsoleDeletion();
}