mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
refactor
This commit is contained in:
parent
e153e1fbd7
commit
b4abecc764
8 changed files with 29 additions and 12 deletions
|
|
@ -39,6 +39,7 @@ void ChunksController::update(
|
|||
int centerY = floordiv<CHUNK_D>(position.z);
|
||||
|
||||
if (player.isLoadingChunks()) {
|
||||
/// FIXME: one generator for multiple players
|
||||
generator->update(centerX, centerY, loadDistance);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue