mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Fix sprite-only changes.
This commit is contained in:
@ -1541,6 +1541,7 @@ impl/*<V: RectRasterableVol>*/ Terrain<V> {
|
||||
} else if let Some(chunk) = self.chunks.get_mut(&pos) {
|
||||
// There was an update that didn't require a remesh (probably related to
|
||||
// non-glowing sprites) so we just update those.
|
||||
renderer.unmap_instances(&mut response.sprite_instances.1);
|
||||
chunk.sprite_instances = response.sprite_instances;
|
||||
chunk.blocks_of_interest = response.blocks_of_interest;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user