mirror of
https://github.com/kwsch/pk3DS.git
synced 2026-10-03 06:16:55 -05:00
Tweak OWSE set back
This commit is contained in:
@@ -443,6 +443,9 @@ private void B_Wild_Click(object sender, EventArgs e)
|
||||
string[] files = { "encdata", "storytext", "mapGR", "mapMatrix" };
|
||||
if (reload || files.Sum(t => Directory.Exists(t) ? 0 : 1) != 0) // Dev bypass if all exist already
|
||||
fileGet(files, false);
|
||||
|
||||
// Only want to set back encdata.
|
||||
files = new [] { "encdata" };
|
||||
Invoke((MethodInvoker)delegate { Enabled = false; });
|
||||
{
|
||||
Invoke((Action)(() => new xytext(Directory.GetFiles("storytext")).Show()));
|
||||
@@ -451,7 +454,7 @@ private void B_Wild_Click(object sender, EventArgs e)
|
||||
Thread.Sleep(200);
|
||||
}
|
||||
Invoke((MethodInvoker)delegate { Enabled = true; });
|
||||
fileSet(files);
|
||||
fileSet(files, true); // keep encdata for now since it is not editable.
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user