mirror of
https://github.com/kwsch/pk3DS.git
synced 2026-10-01 21:36:43 -05:00
Compile tweak
Reference loop variable not other form
This commit is contained in:
@@ -698,7 +698,7 @@ private void B_DumpMaps_Click(object sender, EventArgs e)
|
||||
File.WriteAllBytes(Path.Combine(folder, String.Format("{0} ({1}).png", zdLocations[i].Replace('?', '-'), i)), data);
|
||||
}
|
||||
string l = mm.EntryList.Where(t => t != 0xFFFF).Aggregate("", (current, t) => current + t.ToString("000" + " "));
|
||||
result[i] = String.Format("{0}\t{1}\t{2}", mapView.DrawMap.ToString("000"), CB_LocationID.Items[i], l);
|
||||
result[i] = String.Format("{0}\t{1}\t{2}", i.ToString("000"), CB_LocationID.Items[i], l);
|
||||
}
|
||||
if (Util.Prompt(MessageBoxButtons.YesNoCancel, "Write Map parse output?") == DialogResult.Yes)
|
||||
File.WriteAllLines("MapLocations.txt", result);
|
||||
|
||||
Reference in New Issue
Block a user