This commit is contained in:
griffi-gh 2023-01-16 22:01:21 +01:00
parent 07582f968d
commit 932c2086f0

View file

@ -68,6 +68,7 @@ impl World {
chunk.state = ChunkState::Nothing; chunk.state = ChunkState::Nothing;
}, },
ChunkState::Loaded if matches!(chunk.state, ChunkState::Nothing) => { ChunkState::Loaded if matches!(chunk.state, ChunkState::Nothing) => {
//FIXME this keeps loading!
self.thread.queue_load(position); self.thread.queue_load(position);
}, },
ChunkState::Loaded if matches!(chunk.state, ChunkState::Rendered) => { ChunkState::Loaded if matches!(chunk.state, ChunkState::Rendered) => {