View difference between Paste ID: Q8uKb2Qb and 1KYEfn1r
SHOW: | | - or go back to the newest paste.
1-
Index: Constructor/Operations/ExportAirfields.cs
1+
Index: buildAirfield.cpp
2
===================================================================
3-
--- Constructor/Operations/ExportAirfields.cs	(revision 6378)
3+
--- buildAirfield.cpp	(revision 6378)
4-
+++ Constructor/Operations/ExportAirfields.cs	(working copy)
4+
+++ buildAirfield.cpp	(working copy)
5-
@@ -86,6 +86,7 @@
5+
@@ -80,7 +80,7 @@
6-
                 var airfieldDir = appEnv.terrainConfig.AirfieldsDir.AbsoluteByRelativeTcons();
6+
 	ed::string text;
7
 	auto textKey = [&](const ed::string& key)
8-
                 var airfieldLua = System.IO.Path.Combine(airfieldDir, airfield.name + ".extra.cfg.lua");
8+
 	{
9-
+                System.IO.File.Delete(airfieldLua);
9+
-		return "Airdromes[" + name + "][" + key + "]";
10
+		return "Airdromes[\"" + name + "\"][" + key + "]";
11-
                 command = new Command();
11+
 	};
12-
                 command.EdtuCommand = "build-airfield";
12+
13-
Index: Constructor/Operations/TerrainConfig.cs
13+
 	edtu::Notifications notifications;