Do not rotate after changing autosave settings
See https://github.com/colobot/colobot/pull/789#discussion_r67570610master
parent
439a416a66
commit
7ce23fdf52
|
@ -5457,7 +5457,6 @@ void CRobotMain::SetAutosave(bool enable)
|
||||||
|
|
||||||
m_autosave = enable;
|
m_autosave = enable;
|
||||||
m_autosaveLast = m_gameTimeAbsolute;
|
m_autosaveLast = m_gameTimeAbsolute;
|
||||||
AutosaveRotate();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool CRobotMain::GetAutosave()
|
bool CRobotMain::GetAutosave()
|
||||||
|
@ -5483,7 +5482,6 @@ void CRobotMain::SetAutosaveSlots(int slots)
|
||||||
if (m_autosaveSlots == slots) return;
|
if (m_autosaveSlots == slots) return;
|
||||||
|
|
||||||
m_autosaveSlots = slots;
|
m_autosaveSlots = slots;
|
||||||
AutosaveRotate();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int CRobotMain::GetAutosaveSlots()
|
int CRobotMain::GetAutosaveSlots()
|
||||||
|
|
Loading…
Reference in New Issue