From e2a0d76b65db2994d28266d014edf4fb6724a9e5 Mon Sep 17 00:00:00 2001 From: morkt Date: Sun, 4 Sep 2016 04:48:51 +0400 Subject: [PATCH] (MBL): don't restrict scripts post-processing to '.s' extension. --- ArcFormats/Marble/ArcMBL.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArcFormats/Marble/ArcMBL.cs b/ArcFormats/Marble/ArcMBL.cs index 77cfa049..4a24166c 100644 --- a/ArcFormats/Marble/ArcMBL.cs +++ b/ArcFormats/Marble/ArcMBL.cs @@ -166,7 +166,7 @@ namespace GameRes.Formats.Marble public override Stream OpenEntry (ArcFile arc, Entry entry) { - if (entry.Type != "script" || !entry.Name.EndsWith (".s")) + if (entry.Type != "script") return arc.File.CreateStream (entry.Offset, entry.Size); var marc = arc as MblArchive; var data = arc.File.View.ReadBytes (entry.Offset, entry.Size);