diff options
Diffstat (limited to 'src/server.cpp')
-rw-r--r-- | src/server.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server.cpp b/src/server.cpp index 8fbc0f793..11c11b259 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -2964,7 +2964,8 @@ void Server::ProcessData(u8 *data, u32 datasize, u16 peer_id) <<pointed.object_id<<std::endl; // Do stuff - pointed_object->punch(srp); + pointed_object->punch(srp, srp->m_time_from_last_punch); + srp->m_time_from_last_punch = 0; } } // action == 0 |