Disable saving GPs on abort for now because it requires proper implementation.
m_next_track should have higher value in this case because race is already finished.
This commit is contained in:
parent
57ab9e5ac5
commit
85800f48e6
@ -395,7 +395,7 @@ void RaceResultGUI::eventCallback(GUIEngine::Widget* widget,
|
|||||||
|
|
||||||
void RaceResultGUI::onConfirm()
|
void RaceResultGUI::onConfirm()
|
||||||
{
|
{
|
||||||
race_manager->saveGP(); // Save the aborted GP
|
//race_manager->saveGP(); // Save the aborted GP
|
||||||
GUIEngine::ModalDialog::dismiss();
|
GUIEngine::ModalDialog::dismiss();
|
||||||
cleanupGPProgress();
|
cleanupGPProgress();
|
||||||
StateManager::get()->popMenu();
|
StateManager::get()->popMenu();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user