diff options
-rw-r--r-- | src/clientiface.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/clientiface.cpp b/src/clientiface.cpp index e7f127b84..8a1a62694 100644 --- a/src/clientiface.cpp +++ b/src/clientiface.cpp @@ -391,6 +391,7 @@ void RemoteClient::SentBlock(v3s16 p) void RemoteClient::SetBlockNotSent(v3s16 p) { m_nearest_unsent_d = 0; + m_nothing_to_send_pause_timer = 0; if(m_blocks_sending.find(p) != m_blocks_sending.end()) m_blocks_sending.erase(p); @@ -401,6 +402,7 @@ void RemoteClient::SetBlockNotSent(v3s16 p) void RemoteClient::SetBlocksNotSent(std::map<v3s16, MapBlock*> &blocks) { m_nearest_unsent_d = 0; + m_nothing_to_send_pause_timer = 0; for(std::map<v3s16, MapBlock*>::iterator i = blocks.begin(); |