Skip to content

Commit

Permalink
fix tree not removed (forgot maintain call)
Browse files Browse the repository at this point in the history
  • Loading branch information
Uriopass committed Dec 17, 2023
1 parent 1afb714 commit 1de17d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions simulation/src/map/terrain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ impl Terrain {
f(id);
}
}
self.trees.maintain();
}

pub fn get_chunk(&self, id: TerrainChunkID) -> Option<&Chunk> {
Expand Down

0 comments on commit 1de17d6

Please sign in to comment.