generated from tipragot/rust
Update crates/border-wars/src/scenes/lobby.rs
This commit is contained in:
parent
47ead4a2b5
commit
73b5c8bb37
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue