Don't crash if user opened paused dialog in network when ending race
This commit is contained in:
parent
51c67aa1e4
commit
a4c9a8826c
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user