mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-25 00:37:24 +02:00
Fixed handling of match server crash
This commit is contained in:
@ -143,12 +143,9 @@ void SettingsMainWindow::mainMenuButtonCallback()
|
||||
[this]()
|
||||
{
|
||||
close();
|
||||
GH.dispatchMainThread( []()
|
||||
{
|
||||
CSH->endGameplay();
|
||||
GH.defActionsDef = 63;
|
||||
CMM->menu->switchToTab("main");
|
||||
});
|
||||
CSH->endGameplay();
|
||||
GH.defActionsDef = 63;
|
||||
CMM->menu->switchToTab("main");
|
||||
},
|
||||
0
|
||||
);
|
||||
|
Reference in New Issue
Block a user