Skip to content

Commit

Permalink
Add Korangar version to welcome message
Browse files Browse the repository at this point in the history
  • Loading branch information
vE5li committed Mar 5, 2024
1 parent 3313ac6 commit 21eeb1b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,11 @@ fn main() {
let mut player_skill_tree = SkillTree::default();
let mut hotbar = Hotbar::default();

let welcome_message = ChatMessage::new("Welcome to Korangar!".to_string(), Color::rgb_u8(220, 170, 220));
let welcome_string = format!(
"Welcome to ^ff8800Korangar^000000 version ^ff8800{}^000000!",
env!("CARGO_PKG_VERSION")
);
let welcome_message = ChatMessage::new(welcome_string, Color::monochrome_u8(255));
let mut chat_messages = TrackedState::new(vec![welcome_message]);

let thread_pool = rayon::ThreadPoolBuilder::new().num_threads(3).build().unwrap();
Expand Down

0 comments on commit 21eeb1b

Please sign in to comment.