[Tournament] Return RespInvalidCommand from unhandled tournament stubs

This commit is contained in:
BruebachL 2026-10-11 14:46:15 +02:00
parent 7d1ad2191a
commit ed65059f5b

View file

@ -599,14 +599,14 @@ Response::ResponseCode Server_AbstractParticipant::cmdReportMatchResult(const Co
ResponseContainer & /*rc*/,
GameEventStorage & /*ges*/)
{
return Response::RespContextError;
return Response::RespInvalidCommand;
}
Response::ResponseCode Server_AbstractParticipant::cmdAdvanceTournament(const Command_AdvanceTournament & /*cmd*/,
ResponseContainer & /*rc*/,
GameEventStorage & /*ges*/)
{
return Response::RespContextError;
return Response::RespInvalidCommand;
}
Response::ResponseCode
@ -614,5 +614,5 @@ Server_AbstractParticipant::cmdTournamentSettingsSelect(const Command_Tournament
ResponseContainer & /*rc*/,
GameEventStorage & /*ges*/)
{
return Response::RespContextError;
return Response::RespInvalidCommand;
}