Always unmark dirty

This commit is contained in:
griffi-gh 2023-01-29 02:16:26 +01:00
parent 419e08aa64
commit bace24b13c

View file

@ -152,10 +152,10 @@ fn start_required_tasks(
let chunk = world.chunks.get_mut(&position).unwrap();
if chunk.dirty {
chunk.current_state = CurrentChunkState::RecalculatingMesh;
chunk.dirty = false;
} else {
chunk.current_state = CurrentChunkState::CalculatingMesh;
}
chunk.dirty = false;
// ===========
//log::trace!("Started generating mesh for chunk {position}");
}