we love glue... can't wait for 3.0

This commit is contained in:
Asval 2019-09-21 18:15:14 +02:00
parent 4464e8fcc5
commit c9846fdb36
2 changed files with 3 additions and 3 deletions

View File

@ -747,9 +747,9 @@ namespace FModel
//EVENTS
private async void treeView1_NodeMouseClick(object sender, TreeNodeMouseClickEventArgs e)
{
Checking.currentSelectedNodePartialPath = e.Node.FullPath + "\\";
if (e.Node != null && e.Button == MouseButtons.Right)
{
Checking.currentSelectedNodePartialPath = e.Node.FullPath + "\\";
extractFolderContentsToolStripMenuItem.Text = "Extract " + e.Node.Text + " Folder Contents";
contextMenuStrip2.Show(Cursor.Position);
}

View File

@ -52,14 +52,14 @@ namespace FModel
string AssetPath = string.Empty;
for (int i = 0; i < results.Length; i++)
{
if (results[i].Contains("DisplayAssets/EID_BlackMondayFemale_6HO4L.uasset")) break;
int index = Array.IndexOf(pakFiles, results[i]);
uint y = (uint)index;
byte[] b = pakExtractor.GetData(y);
AssetPath = WriteFile(results[i], b).Replace("/", "\\");
if (results[i].Contains("EID_BlackMondayFemale_6HO4L")) break;
}
pakExtractor = null;