amethyst / amethyst/rustrogueliketutorial
Mistake in chapter 50
Open
- Dominant language
- Rust
- Stars
- 970
- Forks
- 166
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.