Zone crash fix

Related to #808

When closing the app/game tab with a zone revealed the client will
crash. This was due to the zones not being deleted.
This commit is contained in:
Matt Lowe 2015-04-12 17:39:04 +02:00
parent 4c66ef03e2
commit 379ceeeca0

View file

@ -649,6 +649,7 @@ void TabGame::actLeaveGame()
if (!replay)
sendGameCommand(Command_LeaveGame());
}
scene->clearViews();
deleteLater();
}