From 46c4d4c2f0477884437dc1982143b3aedf0bec4d Mon Sep 17 00:00:00 2001 From: morkt Date: Sun, 21 Feb 2016 22:49:05 +0400 Subject: [PATCH] fixed reference to deleted field. --- ArcFormats/Lucifen/ArcLPK.cs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/ArcFormats/Lucifen/ArcLPK.cs b/ArcFormats/Lucifen/ArcLPK.cs index ddd72a84..3d67c290 100644 --- a/ArcFormats/Lucifen/ArcLPK.cs +++ b/ArcFormats/Lucifen/ArcLPK.cs @@ -361,12 +361,9 @@ namespace GameRes.Formats.Lucifen if (null == options) return DefaultScheme; string title = options.Scheme; - if (null == options.Key) - { - Dictionary file_map = null; - if (KnownKeys.TryGetValue (title, out file_map)) - CurrentFileMap = new Dictionary (file_map); - } + Dictionary file_map; + if (KnownKeys.TryGetValue (title, out file_map)) + CurrentFileMap = new Dictionary (file_map); return KnownSchemes[title]; }