We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc6ad89 commit 26c81abCopy full SHA for 26c81ab
src/Spawner/ProtocolZero.cpp
@@ -41,7 +41,7 @@ void ProtocolZero::SendResponseTime2()
41
42
if (ProtocolZero::NextSendFrame < 0)
43
{
44
- ProtocolZero::NextSendFrame = 6 * SendResponseTimeInterval + currentFrame + Game::Network::FrameSendRate;
+ ProtocolZero::NextSendFrame = SendResponseTimeFrame + currentFrame + Game::Network::FrameSendRate;
45
return;
46
}
47
src/Spawner/ProtocolZero.h
@@ -25,6 +25,7 @@ class ProtocolZero
25
26
private:
27
static constexpr int SendResponseTimeInterval = 30;
28
+ static constexpr int SendResponseTimeFrame = 8 * SendResponseTimeInterval;
29
30
public:
31
static bool Enable;
0 commit comments