Quellcode durchsuchen

Correct indentation in Chapter 13

Marius Gedminas vor 4 Jahren
Ursprung
Commit
694ff43b2f
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 3 3
      book/src/chapter_13.md

+ 3 - 3
book/src/chapter_13.md

@@ -210,8 +210,8 @@ let num_spawns = rng.roll_dice(1, MAX_MONSTERS + 3) + (map_depth - 1) - 3;
 We'll have to change a couple of calls in `main.rs` to pass in the depth:
 ```rust
 for room in map.rooms.iter().skip(1) {
-        spawner::spawn_room(&mut gs.ecs, room, 1);
-    }
+    spawner::spawn_room(&mut gs.ecs, room, 1);
+}
 ```
 
 ```rust
@@ -265,4 +265,4 @@ You now have a dungeon that increases in difficulty as you descend! In the next
 
 Copyright (C) 2019, Herbert Wolverson.
 
----
+---