Fix alayan crash
This commit is contained in:
parent
2ac0e5fd07
commit
0c3691cf18
@ -451,6 +451,8 @@ void NetworkingLobby::tearDown()
|
||||
// ----------------------------------------------------------------------------
|
||||
bool NetworkingLobby::onEscapePressed()
|
||||
{
|
||||
if (NetworkConfig::get()->isAddingNetworkPlayers())
|
||||
NetworkConfig::get()->cleanNetworkPlayers();
|
||||
m_joined_server.reset();
|
||||
input_manager->getDeviceManager()->mapFireToSelect(false);
|
||||
STKHost::get()->shutdown();
|
||||
|
Loading…
Reference in New Issue
Block a user