mirror of
https://github.com/4sval/FModel.git
synced 2026-07-27 22:08:16 -05:00
fallback
This commit is contained in:
parent
83f1f3b1e7
commit
6d5b3f801e
|
|
@ -1 +1 @@
|
|||
Subproject commit fe4f1d044dc2b8a3ebfaf6568ea65356a86bd83d
|
||||
Subproject commit 22ad6c42a27071cd91fdad71f2a02e8597031de9
|
||||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user