Skip to content

Commit

Permalink
Fixed broken forceOriginal feature.
Browse files Browse the repository at this point in the history
  • Loading branch information
Esper89 committed Mar 15, 2024
1 parent 4eb3f1e commit 1496114
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Terrain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ string GetPath(string origDir) => Path.Combine(
{
File.Copy(origPath, newPath, overwrite: true);

patchedBatches.Add(batchId, new PatchedBatch(newPath));
patchedBatches[batchId] = new PatchedBatch(newPath);
return;
}
}
Expand All @@ -190,7 +190,7 @@ string GetPath(string origDir) => Path.Combine(
writer.Write((uint)0);
}

patchedBatches.Add(batchId, new PatchedBatch(newPath));
patchedBatches[batchId] = new PatchedBatch(newPath);
}
}

Expand Down

0 comments on commit 1496114

Please sign in to comment.