fixed reference to deleted field.

This commit is contained in:
morkt 2016-02-21 22:49:05 +04:00
parent c611ded16b
commit 46c4d4c2f0

View File

@ -361,12 +361,9 @@ namespace GameRes.Formats.Lucifen
if (null == options) if (null == options)
return DefaultScheme; return DefaultScheme;
string title = options.Scheme; string title = options.Scheme;
if (null == options.Key) Dictionary<string, Key> file_map;
{
Dictionary<string, Key> file_map = null;
if (KnownKeys.TryGetValue (title, out file_map)) if (KnownKeys.TryGetValue (title, out file_map))
CurrentFileMap = new Dictionary<string, Key> (file_map); CurrentFileMap = new Dictionary<string, Key> (file_map);
}
return KnownSchemes[title]; return KnownSchemes[title];
} }