aboutsummaryrefslogtreecommitdiff
path: root/sky/sky.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sky/sky.cpp')
-rw-r--r--sky/sky.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/sky/sky.cpp b/sky/sky.cpp
index dd5b11b50d..d59d3595b4 100644
--- a/sky/sky.cpp
+++ b/sky/sky.cpp
@@ -194,8 +194,12 @@ void SkyState::go() {
delay(_systemVars.gameSpeed);
if (_system->get_msecs() - _lastSaveTime > 5 * 60 * 1000) {
- _lastSaveTime = _system->get_msecs();
- _skyControl->doAutoSave();
+ if (_systemVars.systemFlags & SF_CHOOSING)
+ _lastSaveTime += 30 * 1000;
+ else {
+ _lastSaveTime = _system->get_msecs();
+ _skyControl->doAutoSave();
+ }
}
_skySound->checkFxQueue();
_skyMouse->mouseEngine((uint16)_sdl_mouse_x, (uint16)_sdl_mouse_y);