Update crates/border-wars/src/scenes/lobby.rs
All checks were successful
Rust Checks / checks (push) Successful in 2m41s
Rust Checks / checks (pull_request) Successful in 2m20s

This commit is contained in:
CoCo_Sol 2024-04-03 15:54:05 +00:00
parent 47ead4a2b5
commit 73b5c8bb37

View file

@ -79,7 +79,7 @@ fn lobby_ui(
let index = *map_size as u16; let index = *map_size as u16;
let nomber_of_players = all_players_query.iter().count() as u32; let nomber_of_players = all_players_query.iter().count() as u32;
let radius = nomber_of_players as u16 * 2 * index; let radius = nomber_of_players as u16 * 2 * (index + 1);
// Start the game. // Start the game.
for player in all_players_query.iter() { for player in all_players_query.iter() {