mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-21 09:39:56 +00:00
Create autosave when waiting (bug #1452)
This commit is contained in:
parent
af9db74010
commit
c542ae6875
@ -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…
x
Reference in New Issue
Block a user