|
|
@ -58,7 +58,7 @@ impl Game {
|
|
|
|
|
|
|
|
|
|
|
|
// username not found
|
|
|
|
// username not found
|
|
|
|
Login::CreateUser(username) => {
|
|
|
|
Login::CreateUser(username) => {
|
|
|
|
if !message.clone().is_empty() && message != "n" {
|
|
|
|
if !message.clone().is_empty() && message == "y" {
|
|
|
|
send_queue.push(token, "\nNew password: ", false, None);
|
|
|
|
send_queue.push(token, "\nNew password: ", false, None);
|
|
|
|
client.state = State::Login(Login::CreatePassword(username.to_owned()));
|
|
|
|
client.state = State::Login(Login::CreatePassword(username.to_owned()));
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|