1
0
Fork 0

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
1 changed files with 6 additions and 3 deletions

View File

@ -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();
}