Fix dynamic pak asset registry detection.

This commit is contained in:
GMatrixGames 2021-09-11 21:43:34 -04:00
parent 6ac5fae132
commit 794c749f0d
No known key found for this signature in database
GPG Key ID: 2621164AAF16CEDF

View File

@ -482,7 +482,7 @@ namespace FModel.ViewModels
}
break;
}
case "bin" when fileName.EndsWith("AssetRegistry.bin"):
case "bin" when fileName.Contains("AssetRegistry"):
{
TabControl.SelectedTab.Image = null;
if (Provider.TryCreateReader(fullPath, out var archive))