diff --git a/GameRes/FileSystem.cs b/GameRes/FileSystem.cs index ee1f89b4..94e6c1e8 100644 --- a/GameRes/FileSystem.cs +++ b/GameRes/FileSystem.cs @@ -185,7 +185,8 @@ namespace GameRes m_dir = new Dictionary (arc.Dir.Count, StringComparer.InvariantCultureIgnoreCase); foreach (var entry in arc.Dir) { - m_dir.Add (entry.Name, entry); + if (!m_dir.ContainsKey (entry.Name)) + m_dir.Add (entry.Name, entry); } }