mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Fix crash when graphics init failed (fixes #5237)
This commit is contained in:
parent
8e3d5c1b59
commit
ac2657bfce
|
@ -449,7 +449,8 @@ CGameConsole::CGameConsole() :
|
|||
|
||||
CGameConsole::~CGameConsole()
|
||||
{
|
||||
m_pConsoleLogger->OnConsoleDeletion();
|
||||
if(m_pConsoleLogger)
|
||||
m_pConsoleLogger->OnConsoleDeletion();
|
||||
}
|
||||
|
||||
float CGameConsole::TimeNow()
|
||||
|
|
Loading…
Reference in a new issue