Преглед на файлове

Merge branch 'master' of https://github.com/thebracket/rustrogueliketutorial

Herbert Wolverson преди 5 години
родител
ревизия
b3d1e4b8d9
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  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.
 
----
+---