removed redundant else statement

This commit is contained in:
MattNL
2022-09-20 08:24:27 -04:00
parent b9f4b8becf
commit bd1d4fad60

View File

@@ -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)