mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-26 02:11:33 +00:00
Merge pull request #1389 from akortunov/autosave
Create autosave when waiting
This commit is contained in:
commit
b6aaa2f2be
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ namespace MWGui
|
||||||
|
|
||||||
void WaitDialog::startWaiting(int hoursToWait)
|
void WaitDialog::startWaiting(int hoursToWait)
|
||||||
{
|
{
|
||||||
if(Settings::Manager::getBool("autosave","Saves") && mSleeping) //autosaves when enabled and sleeping
|
if(Settings::Manager::getBool("autosave","Saves")) //autosaves when enabled
|
||||||
MWBase::Environment::get().getStateManager()->quickSave("Autosave");
|
MWBase::Environment::get().getStateManager()->quickSave("Autosave");
|
||||||
|
|
||||||
MWBase::World* world = MWBase::Environment::get().getWorld();
|
MWBase::World* world = MWBase::Environment::get().getWorld();
|
||||||
|
|
Loading…
Reference in a new issue