From df8c343f58e748a7a91694631b11f52856247cd7 Mon Sep 17 00:00:00 2001 From: Notexe Date: Fri, 9 Feb 2024 15:19:25 +1000 Subject: [PATCH] fix: oops, forgot to make the ext variable lowercase --- G2GFxDataTool/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/G2GFxDataTool/Program.cs b/G2GFxDataTool/Program.cs index ac21929..115dfda 100644 --- a/G2GFxDataTool/Program.cs +++ b/G2GFxDataTool/Program.cs @@ -44,7 +44,7 @@ static void Main(string[] args) } else { - string ext = Path.GetExtension(options.inputPath); + string ext = Path.GetExtension(options.inputPath).ToLower(); if (ext == ".swf") { ScaleformGFxWriter.WriteScaleformGfX(options.inputPath, options.outputPath, options.gfxexportPath, options.baseAssemblyPath, options.verbose);