Prevent crash in case of issues creating the server.
This commit is contained in:
parent
46b4d275a9
commit
6fc4b9c19d
@ -86,7 +86,8 @@ void NetworkingLobby::init()
|
|||||||
setInitialFocus();
|
setInitialFocus();
|
||||||
DemoWorld::resetIdleTime(); //FIXME : what's this?
|
DemoWorld::resetIdleTime(); //FIXME : what's this?
|
||||||
m_server = ServersManager::get()->getJoinedServer();
|
m_server = ServersManager::get()->getJoinedServer();
|
||||||
m_server_name_widget->setText(m_server->getName(),false);
|
if(m_server)
|
||||||
|
m_server_name_widget->setText(m_server->getName(), false);
|
||||||
|
|
||||||
} // init
|
} // init
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user