From bd1d4fad60a705165f50b2dfcf4f67bb3b9dcbf9 Mon Sep 17 00:00:00 2001 From: MattNL Date: Tue, 20 Sep 2022 08:24:27 -0400 Subject: [PATCH] removed redundant else statement --- PCK-Studio/MainForm.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PCK-Studio/MainForm.cs b/PCK-Studio/MainForm.cs index f7288a14..f0b1db1c 100644 --- a/PCK-Studio/MainForm.cs +++ b/PCK-Studio/MainForm.cs @@ -286,7 +286,7 @@ namespace PckStudio if (!char.IsDigit(name[name.Length - 1])) return false; // check if last character is a digit (0-9). If not return false // If string does not end with MipMapLevel, then it's not MipMapped if (!name.Remove(name.Length - 1, 1).EndsWith("MipMapLevel")) return false; - else return true; + return true; } private void HandleTextureFile(PCKFile.FileData file)