]> git.localhorst.tv Git - blank.git/blobdiff - src/world/World.cpp
use a timer to limit chunk generation
[blank.git] / src / world / World.cpp
index e426f070bbd0a9e385fb30433ea6c19c7db928e9..529968ea7470ce67ae7d9ed2e3a77a173f37e47d 100644 (file)
@@ -199,7 +199,7 @@ void World::Update(int dt) {
                entity.Update(dt);
        }
        chunks.Rebase(player->ChunkCoords());
-       chunks.Update();
+       chunks.Update(dt);
 }