From 70bf90ef8ed1279b54de583700e99d298edfdaf9 Mon Sep 17 00:00:00 2001 From: Swicegood Date: Thu, 24 Nov 2022 17:34:35 -0500 Subject: [PATCH] Fix spelling error changed now to know --- book/src/chapter_10.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/book/src/chapter_10.md b/book/src/chapter_10.md index d1e0e9b5..24fa9040 100644 --- a/book/src/chapter_10.md +++ b/book/src/chapter_10.md @@ -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. ---- \ No newline at end of file +---