diff --git a/Shared/World.cs b/Shared/World.cs index cf59a79..54e65ea 100644 --- a/Shared/World.cs +++ b/Shared/World.cs @@ -110,8 +110,8 @@ namespace SemiColinGames { Width = worldDesc.AsQueryable().Max(a => a.Length); Height = worldDesc.Length; Debug.WriteLine("world size: {0}x{1}", Width, Height); - for (int j = 0; j < Height; j++) { - for (int i = 0; i < Width; i++) { + for (int i = 0; i < Width; i++) { + for (int j = 0; j < Height; j++) { Terrain terrain = Terrain.Empty; if (i < worldDesc[j].Length) { switch (worldDesc[j][i]) {