add newlines to the Username prompt

master
rasul 5 years ago
parent 8af7b7a7ad
commit 5b07d67515

@ -24,7 +24,7 @@ impl Game {
// get the username // get the username
Login::Username => { Login::Username => {
if message.is_empty() { if message.is_empty() {
send_queue.push(token, "Username: ", false); send_queue.push(token, "\n\nUsername: ", false);
} else { } else {
match self.db.find_player_by_name(&message) { match self.db.find_player_by_name(&message) {
Ok(Some(_)) => { Ok(Some(_)) => {

Loading…
Cancel
Save