Fix chat-cli

Former-commit-id: fe8f13dfb217c6feab78c4d473c9ef59634168f3
This commit is contained in:
timokoesters 2019-04-22 12:07:48 +02:00
parent 06693136b6
commit 8b2ed89982

View File

@ -18,9 +18,11 @@ fn main() {
let mut clock = Clock::new();
// Create client
let mut client = Client::new(([127, 0, 0, 1], 59003), comp::Player::new("test".to_string()), 300)
let mut client = Client::new(([127, 0, 0, 1], 59003), 300)
.expect("Failed to create client instance");
client.register(comp::Player::new("test".to_string()));
client.send_chat("Hello!".to_string());
loop {