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:
lotodore
2010-07-23 17:05:33 +00:00
parent c6c31bb2fa
commit 78c9694438
+1 -1
View File
@@ -1341,7 +1341,7 @@ ServerGameStateWaitNextHand::InternalProcessPacket(boost::shared_ptr<ServerGame>
if (tmpPlayer)
{
SetPlayerResult(netShowCards->playerResult, tmpPlayer);
server->SendToAllButOnePlayers(show, session.sessionData->GetId(), SessionData::Game);
server->SendToAllPlayers(show, SessionData::Game);
}
}
}