From ad9fc13068027467812a9ed2908e3aa46a37497d Mon Sep 17 00:00:00 2001 From: morkt Date: Sun, 3 Aug 2014 10:47:34 +0400 Subject: [PATCH] (UpdateFileTable): check added file for existence. --- ArcFormats/ArcAMI.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ArcFormats/ArcAMI.cs b/ArcFormats/ArcAMI.cs index 502ab653..dc034cb9 100644 --- a/ArcFormats/ArcAMI.cs +++ b/ArcFormats/ArcAMI.cs @@ -251,6 +251,8 @@ namespace GameRes.Formats if (table.TryGetValue (id, out existing) && !(existing is AmiEntry)) { var file_new = new FileInfo (entry.Name); + if (!file_new.Exists) + continue; var file_old = new FileInfo (existing.Name); if (file_new.LastWriteTime <= file_old.LastWriteTime) continue;