diff --git a/CUE4Parse b/CUE4Parse index fe4f1d04..22ad6c42 160000 --- a/CUE4Parse +++ b/CUE4Parse @@ -1 +1 @@ -Subproject commit fe4f1d044dc2b8a3ebfaf6568ea65356a86bd83d +Subproject commit 22ad6c42a27071cd91fdad71f2a02e8597031de9 diff --git a/FModel/ViewModels/CUE4ParseViewModel.cs b/FModel/ViewModels/CUE4ParseViewModel.cs index a0369143..da770872 100644 --- a/FModel/ViewModels/CUE4ParseViewModel.cs +++ b/FModel/ViewModels/CUE4ParseViewModel.cs @@ -356,10 +356,11 @@ public class CUE4ParseViewModel : ViewModel break; } } - else + + if (Provider.MappingsContainer == null) { var latestUsmaps = new DirectoryInfo(mappingsFolder).GetFiles("*_oo.usmap"); - if (Provider.MappingsContainer != null || latestUsmaps.Length <= 0) return; + if (latestUsmaps.Length <= 0) return; var latestUsmapInfo = latestUsmaps.OrderBy(f => f.LastWriteTime).Last(); Provider.MappingsContainer = new FileUsmapTypeMappingsProvider(latestUsmapInfo.FullName);