mirror of
https://github.com/kwsch/NHSE.git
synced 2026-08-23 02:55:24 -05:00
Save terrain and buildings on close too
This commit is contained in:
@@ -240,6 +240,10 @@ private void B_Save_Click(object sender, EventArgs e)
|
||||
{
|
||||
var all = ArrayUtil.ConcatAll(Map.Items.Layer1.Tiles, Map.Items.Layer2.Tiles);
|
||||
SAV.SetFieldItems(all);
|
||||
SAV.SetTerrainTiles(Map.Terrain.Tiles);
|
||||
SAV.Buildings = Map.Buildings;
|
||||
SAV.PlazaX = Map.PlazaX;
|
||||
SAV.PlazaY = Map.PlazaY;
|
||||
Close();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user