Fixed regression from earlier commit (f91ee27)

Corrected the index used to parse the size in MB from index 6 to 5
This commit is contained in:
jp64k
2026-01-30 03:55:35 +01:00
parent 60d68cbc8c
commit 61e6c143fa

View File

@@ -2376,7 +2376,7 @@ namespace AndroidSideloader
// Check if this is a 0 MB entry that should be excluded
bool shouldSkip = false;
if (release.Length > 5 && StringUtilities.TryParseDouble(release[6], out double sizeInMB))
if (release.Length > 5 && StringUtilities.TryParseDouble(release[5], out double sizeInMB))
{
// If size is 0 MB and this is not already an MR-Fix version
if (sizeInMB == 0 && gameName.IndexOf("(MR-Fix)", StringComparison.OrdinalIgnoreCase) < 0)