From db5c2195994f2f22547f25d736ad5b1e962fcb7f Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Thu, 10 Feb 2022 15:44:46 -0500 Subject: [PATCH] Only show welcome message on first level --- src/state.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/state.rs b/src/state.rs index ced8f2c..a24ad55 100644 --- a/src/state.rs +++ b/src/state.rs @@ -137,9 +137,12 @@ impl State { // Set up the game log gamelog::clear_log(); - gamelog::line("Welcome to") - .append_color(colors::CYAN, "Rusty Roguelike") - .log(); + + if new_depth == 1 { + gamelog::line("Welcome to") + .append_color(colors::CYAN, "Rusty Roguelike") + .log(); + } gamelog::clear_events(); }