summaryrefslogtreecommitdiff
path: root/src/dashboard.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/dashboard.rs')
-rw-r--r--src/dashboard.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/dashboard.rs b/src/dashboard.rs
index 3a3ec2b..2227251 100644
--- a/src/dashboard.rs
+++ b/src/dashboard.rs
@@ -11,8 +11,6 @@ pub fn Dashboard(mut buff_r : BufReader<TcpStream>) {
let mut data = String::new();
buff_r.read_line(&mut data).unwrap();
let ship : Ship = serde_json::from_str(&data).unwrap();
- println!("Location: ({},{},{})", ship.location.0,
- ship.location.1,
- ship.location.2);
+ println!("{:?}", ship);
}
}