Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
mockersf committed Dec 12, 2021
1 parent 10682d5 commit 69c939f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipelined/bevy_pbr2/src/render/light.rs
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ pub fn prepare_lights(
.shadows_enabled
.cmp(&light_2.shadows_enabled)
.reverse()
.then_with(|| entity_1.cmp(&entity_2))
.then_with(|| entity_1.cmp(entity_2))
});

if global_light_meta.entity_to_index.capacity() < point_lights.len() {
Expand Down

0 comments on commit 69c939f

Please sign in to comment.