Browse Source

Change loaded scene's last write and access time

habeebweeb 5 years ago
parent
commit
230e721119
1 changed files with 2 additions and 0 deletions
  1. 2 0
      MultipleMaids/SaveManager.cs

+ 2 - 0
MultipleMaids/SaveManager.cs

@@ -158,6 +158,8 @@ namespace CM3D2.MultipleMaids.Plugin
                 }
             }
             SavePng temp = saveScenes[selectedSave];
+            FileSystemInfo info = temp.info;
+            info.LastWriteTime = info.LastAccessTime = DateTime.Now;
             saveScenes.RemoveAt(selectedSave);
             saveScenes.Add(temp);
             saveManagerScrollPos.y = 0;