If a player wishes to show the cards, let the server send them to all players, even the one who already knows the cards.
This commit is contained in:
@@ -1341,7 +1341,7 @@ ServerGameStateWaitNextHand::InternalProcessPacket(boost::shared_ptr<ServerGame>
|
|||||||
if (tmpPlayer)
|
if (tmpPlayer)
|
||||||
{
|
{
|
||||||
SetPlayerResult(netShowCards->playerResult, tmpPlayer);
|
SetPlayerResult(netShowCards->playerResult, tmpPlayer);
|
||||||
server->SendToAllButOnePlayers(show, session.sessionData->GetId(), SessionData::Game);
|
server->SendToAllPlayers(show, SessionData::Game);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user