diff options
Diffstat (limited to 'src/date.cpp')
-rw-r--r-- | src/date.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/date.cpp b/src/date.cpp index 7ee769c64..359433572 100644 --- a/src/date.cpp +++ b/src/date.cpp @@ -257,7 +257,7 @@ void IncreaseDate() SaveOrLoad(name, SL_SAVE, AUTOSAVE_DIR); DebugDumpCommands("ddc:save:%s\n", name); #endif /* DUMP_COMMANDS */ - if (_opt.autosave != 0 && (_cur_month % _autosave_months[_opt.autosave]) == 0) { + if (_settings.gui.autosave != 0 && (_cur_month % _autosave_months[_settings.gui.autosave]) == 0) { _do_autosave = true; RedrawAutosave(); } |