amethyst / amethyst/rustrogueliketutorial

Mistake in chapter 50

Aberta
#196 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Rust
Estrelas
970
Forks
166
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

In the gui.rs fix section the code is:

`let health = format!(" HP: {} / {} ", stats.hp, stats.max_hp);`

But that doesn't work anymore at that point. It should be:

`let health = format!(" HP: {} / {} ", stats.hit_points.current, stats.hit_points.max);`

As seen in the finished code.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.