amethyst / amethyst/rustrogueliketutorial

Mistake in chapter 50

未关闭
#196 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Rust
星标
970
派生
166
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。