dmitrysenkovich

Untitled

Sep 1st, 2014
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.62 KB | None | 0 0
  1. Index: TerrainConfig.cs
  2. ===================================================================
  3. --- TerrainConfig.cs    (revision 6373)
  4. +++ TerrainConfig.cs    (working copy)
  5. @@ -1330,7 +1330,7 @@
  6.  
  7.                  var airfieldLua = System.IO.Path.Combine(airfieldDir, airfield.name + ".cfg.lua");
  8.  
  9. -                b.AppendLine("Airdromes[" + airfield.name + "] = {");
  10. +                b.AppendLine("Airdromes[tonumber(" + airfield.name + "] = {");
  11.  
  12.                  b.AppendLine(string.Format("\tcode = \"{0}\",", airfieldData.Code));
  13.                  b.AppendLine(string.Format("\tclass = \"{0}\",", airfieldData.Class));
Advertisement
Add Comment
Please, Sign In to add comment