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 摘要。