From c40aaab69be3b0b79cb486bb3699bf2d05c04343 Mon Sep 17 00:00:00 2001 From: Joshua Barretto Date: Sun, 19 May 2019 02:06:34 +0100 Subject: [PATCH] Added VD argument to chat-cli Former-commit-id: 5feffb0877c531742a1a440bd5f9f2297098ff56 --- chat-cli/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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());