From 56a71079cf555a9486d001e911d1855878be3762 Mon Sep 17 00:00:00 2001 From: lotodore Date: Mon, 26 Dec 2011 21:33:01 +0000 Subject: [PATCH] Use correct timeout message. --- src/net/common/servergamestate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/common/servergamestate.cpp b/src/net/common/servergamestate.cpp index f87ce4fe..8207c093 100644 --- a/src/net/common/servergamestate.cpp +++ b/src/net/common/servergamestate.cpp @@ -1292,7 +1292,7 @@ ServerGameStateHand::CheckPlayerTimeouts(boost::shared_ptr server) boost::shared_ptr packet(new NetPacket(NetPacket::Alloc)); packet->GetMsg()->present = PokerTHMessage_PR_timeoutWarningMessage; TimeoutWarningMessage_t *netWarning = &packet->GetMsg()->choice.timeoutWarningMessage; - netWarning->timeoutReason = NETWORK_TIMEOUT_GENERIC; + netWarning->timeoutReason = NETWORK_TIMEOUT_KICK_AFTER_AUTOFOLD; netWarning->remainingSeconds = actionTimeout * SERVER_GAME_FORCED_TIMEOUT_FACTOR - tmpPlayer->getTimeSecSinceLastRemoteAction(); server->GetLobbyThread().GetSender().Send(session, packet); }