Skip to content

Commit 5512092

Browse files
committed
Load local indices later on in load process
1 parent 742690d commit 5512092

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

TACTSharp/Build.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ public void Load()
5151

5252
var timer = new System.Diagnostics.Stopwatch();
5353

54+
if (!string.IsNullOrEmpty(Settings.BaseDir))
55+
cdn.OpenLocal();
56+
5457
timer.Start();
5558
if (!CDNConfig.Values.TryGetValue("archive-group", out var groupArchiveIndex))
5659
{

TACTSharp/CDN.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ public class CDN
2222
public CDN(Settings settings)
2323
{
2424
Settings = settings;
25+
}
26+
27+
public void OpenLocal()
28+
{
2529
if (Settings.BaseDir != null)
2630
{
2731
try

0 commit comments

Comments
 (0)