update some command notes

This commit is contained in:
Martin Michelsen
2023-10-07 09:38:07 -07:00
parent f77e21800c
commit 8a6a7fb47f
2 changed files with 17 additions and 12 deletions
+1
View File
@@ -2298,6 +2298,7 @@ void send_ep3_confirm_tournament_entry(
cmd.start_time = "Unknown";
auto& teams = tourn->all_teams();
cmd.num_teams = min<size_t>(teams.size(), 0x20);
cmd.players_per_team = (tourn->get_flags() & Episode3::Tournament::Flag::IS_2V2) ? 2 : 1;
for (size_t z = 0; z < min<size_t>(teams.size(), 0x20); z++) {
cmd.team_entries[z].win_count = teams[z]->num_rounds_cleared;
cmd.team_entries[z].is_active = teams[z]->is_active;