Make small delay which prevents auto-kick from occurring configurable.
This commit is contained in:
1 parent
cefe5b9240
commit
3016d6b3b2
4 files changed
+16
-4
No files matched your search
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user