mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-19 02:41:35 +00:00
Moved autosave to before you rest, not after it.
This commit is contained in:
parent
a598060071
commit
6a8bf71c4c
1 changed files with 2 additions and 2 deletions
|
@ -121,6 +121,8 @@ namespace MWGui
|
||||||
MWBase::World* world = MWBase::Environment::get().getWorld();
|
MWBase::World* world = MWBase::Environment::get().getWorld();
|
||||||
world->getFader ()->fadeOut(0.2);
|
world->getFader ()->fadeOut(0.2);
|
||||||
setVisible(false);
|
setVisible(false);
|
||||||
|
if(Settings::Manager::getBool("autosave","Saves")) //autosaves
|
||||||
|
autosave();
|
||||||
mProgressBar.setVisible (true);
|
mProgressBar.setVisible (true);
|
||||||
|
|
||||||
mWaiting = true;
|
mWaiting = true;
|
||||||
|
@ -238,8 +240,6 @@ namespace MWGui
|
||||||
{
|
{
|
||||||
MWBase::Environment::get().getWindowManager()->pushGuiMode (GM_Levelup);
|
MWBase::Environment::get().getWindowManager()->pushGuiMode (GM_Levelup);
|
||||||
}
|
}
|
||||||
if(Settings::Manager::getBool("autosave","Saves"))
|
|
||||||
autosave();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void WaitDialog::autosave() {
|
void WaitDialog::autosave() {
|
||||||
|
|
Loading…
Reference in a new issue