From c1c578a818ee139cec0f4ad7ed39ff9e911d1a04 Mon Sep 17 00:00:00 2001 From: Krowe Moh <27891447+Krowe-moh@users.noreply.github.com> Date: Fri, 31 Jul 2026 15:45:39 +1000 Subject: [PATCH] useless check --- FModel/ViewModels/CUE4ParseViewModel.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/FModel/ViewModels/CUE4ParseViewModel.cs b/FModel/ViewModels/CUE4ParseViewModel.cs index f7155852..7b22009d 100644 --- a/FModel/ViewModels/CUE4ParseViewModel.cs +++ b/FModel/ViewModels/CUE4ParseViewModel.cs @@ -379,10 +379,9 @@ public class CUE4ParseViewModel : ViewModel var archiveFiles = manifest.Files.Where(x => _fnLiveRegex.IsMatch(x.FileName) && (x.FileName.EndsWith(".pak", StringComparison.OrdinalIgnoreCase) || - x.FileName.EndsWith(".utoc", StringComparison.OrdinalIgnoreCase) || - x.FileName.EndsWith(".uondemandtoc", StringComparison.OrdinalIgnoreCase))).ToList(); + x.FileName.EndsWith(".utoc", StringComparison.OrdinalIgnoreCase))).ToList(); - Parallel.ForEach(archiveFiles.Where(x => !x.FileName.EndsWith(".uondemandtoc", StringComparison.OrdinalIgnoreCase)), fileManifest => + Parallel.ForEach(archiveFiles, fileManifest => { provider.RegisterVfs(fileManifest.FileName, [fileManifest.GetStream()], it => new FRandomAccessStreamArchive(it, manifest.FindFile(it)!.GetStream(), provider.Versions));