diff options
Diffstat (limited to 'sky')
-rw-r--r-- | sky/sky.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sky/sky.cpp b/sky/sky.cpp index c31abb42ac..6cba9981af 100644 --- a/sky/sky.cpp +++ b/sky/sky.cpp @@ -240,7 +240,7 @@ int SkyEngine::go() { int32 frameTime = (int32)_system->getMillis(); - if (_system->getMillis() - _lastSaveTime > 5 * 60 * 1000) { + if (shouldPerformAutoSave(_lastSaveTime)) { if (_skyControl->loadSaveAllowed()) { _lastSaveTime = _system->getMillis(); _skyControl->doAutoSave(); |