Change the select size map system #106

Merged
raphael merged 2 commits from change-select-size-map into main 2024-04-03 19:33:49 +00:00
Showing only changes of commit 73b5c8bb37 - Show all commits

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() {