diff --git a/src/CAHd_game.rs b/src/CAHd_game.rs index 49e6538..180d254 100644 --- a/src/CAHd_game.rs +++ b/src/CAHd_game.rs @@ -98,7 +98,7 @@ pub struct NewGameRequest { /// Game join request structure pub struct GameJoinRequest { /// Game id - pub id: u8, // string? + pub id: u8, // increase later /// Game password pub password: String, /// Player info @@ -121,7 +121,7 @@ impl CAHGame { Ok(()) } - pub fn new(request: NewGameRequest) -> Result { + pub fn new(request: NewGameRequest) -> Result { let mut game = CAHGame { ..Default::default() };