diff --git a/src/states_screens/online/networking_lobby.cpp b/src/states_screens/online/networking_lobby.cpp index 9efb3c1d3..2aded25a5 100644 --- a/src/states_screens/online/networking_lobby.cpp +++ b/src/states_screens/online/networking_lobby.cpp @@ -1034,7 +1034,7 @@ void NetworkingLobby::setStartingTimerTo(float t) // ---------------------------------------------------------------------------- void NetworkingLobby::setHeader(const core::stringw& header) { - if (m_header->getText() == header) + if (!m_header || m_header->getText() == header) return; m_header_text_width = GUIEngine::getTitleFont()->getDimension(header.c_str()).Width;