Skip to content

Fix spelling error #198

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions book/src/chapter_10.md
Original file line number Diff line number Diff line change
@@ -258,7 +258,7 @@ pub struct WantsToUseItem {
}
```

So now when you receive a `WantsToUseItem`, you can now that the *user* is the owning entity, the *item* is the `item` field, and it is aimed at `target` - if there is one (targeting doesn't make much sense for healing potions!).
So now when you receive a `WantsToUseItem`, you can know that the *user* is the owning entity, the *item* is the `item` field, and it is aimed at `target` - if there is one (targeting doesn't make much sense for healing potions!).

So now we can add another condition to our `ItemUseSystem`:
```rust
@@ -542,4 +542,4 @@ If this sees a `Confused` component, it decrements the timer. If the timer hits

Copyright (C) 2019, Herbert Wolverson.

---
---