Update server ping with each game action (#239).
This commit is contained in:
1 parent
e58545b001
commit
0d60360fca
11 files changed
+76
-14
No files matched your search
@@ -1771,6 +1771,10 @@ ClientStateRunHand::InternalHandlePacket(boost::shared_ptr<ClientThread> client,
|
||||
client->GetClientLog()->transformPlayerActionLog(PlayerAction(netActionDone.playeraction())),
|
||||
netActionDone.totalplayerbet() - tmpPlayer->getMySet()
|
||||
);
|
||||
if (tmpPlayer->getMyID() == 0)
|
||||
{
|
||||
client->EndPing();
|
||||
}
|
||||
}
|
||||
// Update last players turn only after the blinds.
|
||||
curGame->getCurrentHand()->setPreviousPlayerID(tmpPlayer->getMyID());
|
||||
|
||||
Reference in new issue
Block a user