diff --git a/src/net/common/servergamestate.cpp b/src/net/common/servergamestate.cpp index 6b5dbc03..fee241d9 100644 --- a/src/net/common/servergamestate.cpp +++ b/src/net/common/servergamestate.cpp @@ -958,7 +958,7 @@ ServerGameStateHand::EngineLoop(boost::shared_ptr server) if (curPlayer->getTimeSecSinceLastRemoteAction() >= actionTimeout * SERVER_GAME_AUTOFOLD_TIMEOUT_FACTOR) { if (curPlayer->isSessionActive()) { curPlayer->setIsSessionActive(false); - boost::shared_ptr session = server->GetSessionManager().GetSessionByUniquePlayerId(server->GetAdminPlayerId()); + boost::shared_ptr session = server->GetSessionManager().GetSessionByUniquePlayerId(curPlayer->getMyUniqueID()); if (session) { boost::shared_ptr packet(new NetPacket(NetPacket::Alloc)); packet->GetMsg()->present = PokerTHMessage_PR_timeoutWarningMessage;