diff --git a/src/game.rs b/src/game.rs index b3221ac..cc7dcf8 100644 --- a/src/game.rs +++ b/src/game.rs @@ -131,7 +131,7 @@ impl Game { let (next_level, x, y) = self.next_start(); player_level = next_level; self.messages - .insert(0, format!("you climb down to level {}.", next_level)); + .insert(0, format!("you climb down to level {}.", next_level + 1)); self.get_mutable_player() .get_position() .set(next_level, x, y); @@ -141,7 +141,7 @@ impl Game { let (next_level, x, y) = self.prev_end(); player_level = next_level; self.messages - .insert(0, format!("you climb up to level {}.", next_level)); + .insert(0, format!("you climb up to level {}.", next_level + 1)); self.get_mutable_player() .get_position() .set(next_level, x, y);