Fixed possible crash when using splitscreen with network multiplayer
This commit is contained in:
parent
3a3953f38c
commit
8771f0b9d7
@ -467,6 +467,7 @@ bool NetworkingLobby::onEscapePressed()
|
||||
NetworkConfig::get()->cleanNetworkPlayers();
|
||||
m_joined_server.reset();
|
||||
input_manager->getDeviceManager()->mapFireToSelect(false);
|
||||
input_manager->getDeviceManager()->setAssignMode(NO_ASSIGN);
|
||||
STKHost::get()->shutdown();
|
||||
return true; // close the screen
|
||||
} // onEscapePressed
|
||||
|
Loading…
Reference in New Issue
Block a user