示例#1
0
        void UpdateSaveStatus()
        {
            int temp = 0;

            m_GameEngine.HasWorldBeenSaved(out temp);

            if (worldSavedAndNotEdited && temp == 0)
            {
                autoSaveWatch.Restart();
            }

            worldSavedAndNotEdited = temp != 0;
        }