diff --git a/ArcFormats/AdvSys/ArcAdvSys3.cs b/ArcFormats/AdvSys/ArcAdvSys3.cs index 02af9f94..eef3a44b 100644 --- a/ArcFormats/AdvSys/ArcAdvSys3.cs +++ b/ArcFormats/AdvSys/ArcAdvSys3.cs @@ -80,11 +80,7 @@ namespace GameRes.Formats.AdvSys else { var res = AutoEntry.DetectFileType (signature); - if (res != null) - { - entry.Type = res.Type; - entry.Name = Path.ChangeExtension (entry.Name, res.Extensions.FirstOrDefault()); - } + entry.ChangeType (res); } dir.Add (entry); current_offset += size;