mirror of
https://github.com/4sval/FModel.git
synced 2026-09-11 11:06:31 -05:00
fallback
This commit is contained in:
Submodule CUE4Parse updated: fe4f1d044d...22ad6c42a2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user