summaryrefslogtreecommitdiff
path: root/src/client/dashboard.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/dashboard.rs')
-rw-r--r--src/client/dashboard.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/dashboard.rs b/src/client/dashboard.rs
index 3776223..b9f0a08 100644
--- a/src/client/dashboard.rs
+++ b/src/client/dashboard.rs
@@ -4,13 +4,13 @@ use std::io::BufRead;
use std::io::BufReader;
use std::net::TcpStream;
-use ship::Ship;
+use mass::Mass;
pub fn client_dashboard(mut buff_r : BufReader<TcpStream>) {
loop {
let mut recv = String::new();
buff_r.read_line(&mut recv).unwrap();
- let ship : Ship = serde_json::from_str(&recv).unwrap();
+ let ship : Mass = serde_json::from_str(&recv).unwrap();
println!("{:?}", ship);
}
}