From c6be289134c1f749884d269f955b39d39b604469 Mon Sep 17 00:00:00 2001 From: tom barrett Date: Wed, 20 Feb 2019 13:09:11 -0600 Subject: new naming scheme --- src/client/construction.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/client/construction.rs') diff --git a/src/client/construction.rs b/src/client/construction.rs index 8549c09..28a91be 100644 --- a/src/client/construction.rs +++ b/src/client/construction.rs @@ -8,7 +8,7 @@ use std::io::{BufRead, BufReader}; use std::net::TcpStream; use crate::constants; -use crate::modules::construction::{ConstructionClientData, ConstructionStatus}; +use crate::modules::construction; pub fn client_construction(mut stream: TcpStream, mut buff_r: BufReader) { let stdout = stdout(); @@ -18,7 +18,7 @@ pub fn client_construction(mut stream: TcpStream, mut buff_r: BufReader { + construction::Status::None => { write!(stdout, "{}Press c to create a refinery.", clear).unwrap() } _ => write!(stdout, "{}Press c to cancel..", clear).unwrap(), -- cgit v1.2.3