left the game message fix
This commit is contained in:
parent
424b33d47c
commit
a1b0da37d9
@ -550,7 +550,10 @@ pub fn handle_disconnect(
|
|||||||
}
|
}
|
||||||
|
|
||||||
remove_player(player.clone(), client.clone())?;
|
remove_player(player.clone(), client.clone())?;
|
||||||
send_rainbow_message(&player, format!("{} joined the game", player_name))?;
|
send_rainbow_message(
|
||||||
|
&player,
|
||||||
|
format!("{} left the game", client.player_info().unwrap().name),
|
||||||
|
)?;
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user