diff --git a/chat-cli/src/main.rs b/chat-cli/src/main.rs index 7fa1022b3a..b8b0ef39f5 100644 --- a/chat-cli/src/main.rs +++ b/chat-cli/src/main.rs @@ -16,9 +16,9 @@ fn main() { // Create a client. let mut client = - Client::new(([127, 0, 0, 1], 59003), 300).expect("Failed to create client instance"); + Client::new(([127, 0, 0, 1], 59003), None).expect("Failed to create client instance"); - client.register(comp::Player::new("test".to_string())); + client.register(comp::Player::new("test".to_string(), None)); client.send_chat("Hello!".to_string());