mirror of
https://github.com/kwsch/NHSE.git
synced 2026-09-28 21:06:30 -05:00
Update Editor.cs
dump to selected folder, then return rather than doing the regular logic
This commit is contained in:
@@ -336,7 +336,8 @@ private void B_DumpVillager_Click(object sender, EventArgs e)
|
||||
var dir = Path.GetDirectoryName(fbd.SelectedPath);
|
||||
if (dir == null || !Directory.Exists(dir))
|
||||
return;
|
||||
SAV.Main.DumpVillagers(dir);
|
||||
SAV.Main.DumpVillagers(fbd.SelectedPath);
|
||||
return;
|
||||
}
|
||||
|
||||
var name = L_ExternalName.Text;
|
||||
@@ -415,7 +416,8 @@ private void B_DumpDesign_Click(object sender, EventArgs e)
|
||||
var dir = Path.GetDirectoryName(fbd.SelectedPath);
|
||||
if (dir == null || !Directory.Exists(dir))
|
||||
return;
|
||||
SAV.Main.DumpDesigns(dir);
|
||||
SAV.Main.DumpDesigns(fbd.SelectedPath);
|
||||
return;
|
||||
}
|
||||
|
||||
var original = SAV.Main.GetDesign(PatternIndex);
|
||||
|
||||
Reference in New Issue
Block a user