Skip to content

Commit

Permalink
Fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
benfrankel committed Jul 26, 2024
1 parent 5e61e12 commit da3894c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/actor/level/up.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ fn trigger_level_up(
mut level_query: Query<(Entity, &mut Level)>,
) {
for (entity, mut level) in &mut level_query {
if level.up <= 0 {
if level.up == 0 {
continue;
}

Expand Down

0 comments on commit da3894c

Please sign in to comment.