Skip to content

Commit

Permalink
Update pong-tutorial-05.md
Browse files Browse the repository at this point in the history
  • Loading branch information
MrTanoshii committed Jul 9, 2020
1 parent 0af6245 commit 26c2aea
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions book/src/pong-tutorial/pong-tutorial-05.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,11 +320,11 @@ fn initialise_scoreboard(world: &mut World) {
))
.build();
let p2_score = world
.create_entity()
.with(p2_transform)
.with(UiText::new(
font,
let p2_score = world
.create_entity()
.with(p2_transform)
.with(UiText::new(
font,
"0".to_string(),
[1., 1., 1., 1.],
50.,
Expand Down

0 comments on commit 26c2aea

Please sign in to comment.