Skip to content

Commit

Permalink
fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
dyc3 committed Aug 4, 2023
1 parent 9a311c3 commit 1bd4a82
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/tests/scoreboard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ fn show_scoreboard_when_added_to_layer() {

// Add a new entity layer for the objective.
let server = app.world.get_resource::<Server>().unwrap();
let obj_layer = app.world.spawn(EntityLayer::new(&server)).id();
let obj_layer = app.world.spawn(EntityLayer::new(server)).id();
app.world
.entity_mut(client)
.get_mut::<VisibleEntityLayers>()
Expand Down Expand Up @@ -65,7 +65,7 @@ fn show_scoreboard_when_client_join() {

// Add a new entity layer for the objective.
let server = app.world.get_resource::<Server>().unwrap();
let obj_layer = app.world.spawn(EntityLayer::new(&server)).id();
let obj_layer = app.world.spawn(EntityLayer::new(server)).id();
app.world
.entity_mut(client)
.get_mut::<VisibleEntityLayers>()
Expand Down Expand Up @@ -106,7 +106,7 @@ fn should_update_score() {

// Add a new entity layer for the objective.
let server = app.world.get_resource::<Server>().unwrap();
let obj_layer = app.world.spawn(EntityLayer::new(&server)).id();
let obj_layer = app.world.spawn(EntityLayer::new(server)).id();
app.world
.entity_mut(client)
.get_mut::<VisibleEntityLayers>()
Expand Down Expand Up @@ -154,7 +154,7 @@ fn should_only_update_score_diff() {

// Add a new entity layer for the objective.
let server = app.world.get_resource::<Server>().unwrap();
let obj_layer = app.world.spawn(EntityLayer::new(&server)).id();
let obj_layer = app.world.spawn(EntityLayer::new(server)).id();
app.world
.entity_mut(client)
.get_mut::<VisibleEntityLayers>()
Expand Down

0 comments on commit 1bd4a82

Please sign in to comment.