master
rasul 5 years ago
parent f853002a90
commit a9cc95ef6c

@ -78,7 +78,7 @@ impl Game {
send_queue.push(token, "\nNew password again: ", false, None); send_queue.push(token, "\nNew password again: ", false, None);
client.state = client.state =
State::Login(Login::CreatePassword2((username.to_owned(), pass))); State::Login(Login::CreatePassword2((username.to_owned(), pass)));
}, }
PlayerCheck::Err(err) => { PlayerCheck::Err(err) => {
send_queue.push(token, "\nInvalid password:\n", false, None); send_queue.push(token, "\nInvalid password:\n", false, None);
for line in err { for line in err {
@ -87,7 +87,6 @@ impl Game {
send_queue.push(token, "\nNew password: ", false, None); send_queue.push(token, "\nNew password: ", false, None);
} }
} }
} }
} }

Loading…
Cancel
Save