forked from mirror/openmw-tes3mp
Create autosave when waiting (bug #1452)
This commit is contained in:
parent
af9db74010
commit
c542ae6875
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