Moved autosave to before you rest, not after it.

This commit is contained in:
Thomas 2014-04-23 23:33:57 -04:00
parent a598060071
commit 6a8bf71c4c

View file

@ -121,6 +121,8 @@ namespace MWGui
MWBase::World* world = MWBase::Environment::get().getWorld();
world->getFader ()->fadeOut(0.2);
setVisible(false);
if(Settings::Manager::getBool("autosave","Saves")) //autosaves
autosave();
mProgressBar.setVisible (true);
mWaiting = true;
@ -238,8 +240,6 @@ namespace MWGui
{
MWBase::Environment::get().getWindowManager()->pushGuiMode (GM_Levelup);
}
if(Settings::Manager::getBool("autosave","Saves"))
autosave();
}
void WaitDialog::autosave() {