mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
add abstract player in expectance of draft players (#6210)
* add abstract player in expectance of draft players
This commit is contained in:
parent
c25b153185
commit
3cff55b0bb
11 changed files with 1854 additions and 1707 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue