diff options
Diffstat (limited to 'src/World.cpp')
-rw-r--r-- | src/World.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/World.cpp b/src/World.cpp index 1a0e0fa..8f6bb5c 100644 --- a/src/World.cpp +++ b/src/World.cpp @@ -1,5 +1,6 @@ #include "World.hpp" #include "Event.hpp" +#include "DebugInfo.hpp" void World::ParseChunkData(std::shared_ptr<PacketChunkData> packet) { StreamBuffer chunkData(packet->Data.data(), packet->Data.size()); @@ -137,6 +138,7 @@ void World::UpdatePhysics(float delta) it.pos = it.pos + it.vel * delta; } entitiesMutex.unlock(); + DebugInfo::totalSections = sections.size(); } Entity & World::GetEntity(unsigned int EntityId) |