add abstract player in expectance of draft players (#6210)

* add abstract player in expectance of draft players
This commit is contained in:
ebbit1q 2025-10-07 15:09:30 +02:00 committed by GitHub
parent c25b153185
commit 3cff55b0bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 1854 additions and 1707 deletions

View file

@ -202,7 +202,7 @@ Server_AbstractParticipant::cmdJudge(const Command_Judge &cmd, ResponseContainer
return Response::RespFunctionNotAllowed;
}
Server_Player *player = this->game->getPlayer(cmd.target_id());
auto *player = this->game->getPlayer(cmd.target_id());
ges.setForcedByJudge(playerId);
if (player == nullptr) {