Don't crash if user opened paused dialog in network when ending race

This commit is contained in:
Benau 2018-09-29 14:00:54 +08:00
parent 51c67aa1e4
commit a4c9a8826c

View File

@ -587,6 +587,9 @@ void World::onGo()
*/
void World::terminateRace()
{
// In case the user opened paused dialog in network
GUIEngine::ModalDialog::dismiss();
m_schedule_pause = false;
m_schedule_unpause = false;