Disable autosave when not in EditMode_Full to make sure it doesn't do anything in practice mode.

This commit is contained in:
Kyzentun Keeslala
2016-03-04 11:24:23 -07:00
parent c75f835f25
commit 5f4cd214d9
+6
View File
@@ -4420,6 +4420,12 @@ void ScreenEdit::HandleScreenMessage( const ScreenMessage SM )
void ScreenEdit::SetDirty(bool dirty)
{
if(EDIT_MODE.GetValue() != EditMode_Full)
{
m_dirty= false;
m_next_autosave_time= -1.0f;
return;
}
if(dirty)
{
if(!m_dirty)