Make small delay which prevents auto-kick from occurring configurable.

This commit is contained in:
lotodore
2010-09-11 21:37:27 +00:00
parent cefe5b9240
commit 3016d6b3b2
4 changed files with 16 additions and 4 deletions
+1 -1
View File
@@ -1360,7 +1360,7 @@ ServerGameStateWaitPlayerAction::TimerTimeout(const boost::system::error_code &e
curPlayer->incrementActionTimeoutCounter();
if (server->GetGameData().gameType == GAME_TYPE_RANKING
&& server->GetGameData().playerActionTimeoutSec >= 10)
&& server->GetGameData().playerActionTimeoutSec >= server->GetSmallDelaySec())
{
if (curPlayer->getActionTimeoutCounter() == SERVER_WARNING_ACTION_TIMEOUT_THRESHOLD)
{