Only show welcome message on first level

This commit is contained in:
Timothy Warren 2022-02-10 15:44:46 -05:00
parent 4a8b791acb
commit db5c219599

View File

@ -137,9 +137,12 @@ impl State {
// Set up the game log // Set up the game log
gamelog::clear_log(); gamelog::clear_log();
gamelog::line("Welcome to")
.append_color(colors::CYAN, "Rusty Roguelike") if new_depth == 1 {
.log(); gamelog::line("Welcome to")
.append_color(colors::CYAN, "Rusty Roguelike")
.log();
}
gamelog::clear_events(); gamelog::clear_events();
} }