mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-01 01:45:34 +00:00
[Client] Disable autosave on waiting
This commit is contained in:
parent
bfdf348a6c
commit
d98bb74b80
1 changed files with 10 additions and 0 deletions
|
@ -160,8 +160,18 @@ namespace MWGui
|
||||||
|
|
||||||
void WaitDialog::startWaiting(int hoursToWait)
|
void WaitDialog::startWaiting(int hoursToWait)
|
||||||
{
|
{
|
||||||
|
/*
|
||||||
|
Start of tes3mp change (major)
|
||||||
|
|
||||||
|
It should not be possible to autosave the game in multiplayer, so it has been disabled
|
||||||
|
*/
|
||||||
|
/*
|
||||||
if(Settings::Manager::getBool("autosave","Saves")) //autosaves when enabled
|
if(Settings::Manager::getBool("autosave","Saves")) //autosaves when enabled
|
||||||
MWBase::Environment::get().getStateManager()->quickSave("Autosave");
|
MWBase::Environment::get().getStateManager()->quickSave("Autosave");
|
||||||
|
*/
|
||||||
|
/*
|
||||||
|
End of tes3mp change (major)
|
||||||
|
*/
|
||||||
|
|
||||||
MWBase::World* world = MWBase::Environment::get().getWorld();
|
MWBase::World* world = MWBase::Environment::get().getWorld();
|
||||||
MWBase::Environment::get().getWindowManager()->fadeScreenOut(0.2f);
|
MWBase::Environment::get().getWindowManager()->fadeScreenOut(0.2f);
|
||||||
|
|
Loading…
Reference in a new issue