Browse Source

Chapter 22 works in WASM.

Herbert Wolverson 5 years ago
parent
commit
3c4cb84866
1 changed files with 1 additions and 1 deletions
  1. 1 1
      chapter-22-simpletraps/src/spawner.rs

+ 1 - 1
chapter-22-simpletraps/src/spawner.rs

@@ -45,7 +45,7 @@ fn room_table(map_depth: i32) -> RandomTable {
         .add("Tower Shield", map_depth - 1)
         .add("Rations", 10)
         .add("Magic Mapping Scroll", 2)
-        .add("Bear Trap", 2)
+        .add("Bear Trap", 5)
 }
 
 /// Fills a room with stuff!