document some ep3 tournament command fields

This commit is contained in:
Martin Michelsen
2022-12-03 18:37:57 -08:00
parent 7634e61400
commit fd8f968994
2 changed files with 33 additions and 3 deletions
+1 -1
View File
@@ -908,7 +908,7 @@ static void on_ep3_server_data_request(shared_ptr<ServerState> s, shared_ptr<Cli
uint16_t, uint32_t, const string& data) { // CA
auto l = s->find_lobby(c->lobby_id);
if (!l || !(l->flags & Lobby::Flag::EPISODE_3_ONLY) || !l->is_game()) {
throw runtime_error("Episode 3 server data request sent in lobby or non-Episode 3 game");
throw runtime_error("Episode 3 server data request sent outside of Episode 3 game");
}
const auto& header = check_size_t<G_CardServerDataCommandHeader>(