mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fixed remesh data race
This commit is contained in:
parent
90566243ca
commit
586b62ea28
@ -203,7 +203,7 @@ impl Terrain {
|
||||
match self.mesh_todo.get(&response.pos) {
|
||||
// It's the mesh we want, insert the newly finished model into the terrain model
|
||||
// data structure (convert the mesh to a model first of course).
|
||||
Some(todo) if response.started_tick <= todo.started_tick => {
|
||||
Some(todo) if response.started_tick == todo.started_tick => {
|
||||
self.chunks.insert(
|
||||
response.pos,
|
||||
TerrainChunk {
|
||||
|
Loading…
Reference in New Issue
Block a user