mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-04 09:44:10 +00:00
Address World Server Packet timing and erroneous log (#929)
* Fix overread in projectile behavior * Fix stuns * Correctly read in bitStream * Fix projectile behavior * Address movement type issues * Update shutdown time to be accurate * Fix small issues
This commit is contained in:
@@ -416,7 +416,7 @@ int main(int argc, char** argv) {
|
||||
HandlePacket(packet);
|
||||
auto t2 = std::chrono::high_resolution_clock::now();
|
||||
|
||||
timeSpent += std::chrono::duration_cast<std::chrono::milliseconds>(t2 - t1).count();
|
||||
timeSpent += std::chrono::duration_cast<std::chrono::duration<float>>(t2 - t1).count();
|
||||
Game::server->DeallocatePacket(packet);
|
||||
packet = nullptr;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user