mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fix chat-cli to account for new case.
This commit is contained in:
parent
ef6f8b509a
commit
833c1d06b2
@ -77,6 +77,9 @@ fn main() {
|
||||
match event {
|
||||
Event::Chat { message, .. } => println!("{}", message),
|
||||
Event::Disconnect => {} // TODO
|
||||
Event::DisconnectionNotification(time) => {
|
||||
println!("{}", format!("Connection lost. Kicking in {} seconds", time))
|
||||
}
|
||||
}
|
||||
}
|
||||
// Clean up the server after a tick.
|
||||
|
Loading…
Reference in New Issue
Block a user