From d3f509f24aa8947b6ac6fcecb0b35f43b36e09d7 Mon Sep 17 00:00:00 2001 From: James Chacon Date: Wed, 25 Aug 2021 16:09:52 -0700 Subject: [PATCH] Remove a derivation that doesn't work. ConvertSaveload isn't in scope nor needed here so remove it so cut/paste of this compiles --- book/src/chapter_7.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/src/chapter_7.md b/book/src/chapter_7.md index e01fd065..d38cd0b6 100644 --- a/book/src/chapter_7.md +++ b/book/src/chapter_7.md @@ -447,7 +447,7 @@ If you `cargo run` this, you'll see that you can walk up to a mob and try to mov We're going to do this in an ECS way, so there's a bit of boilerplate. In `components.rs`, we add a component indicating an intent to attack: ```rust -#[derive(Component, Debug, ConvertSaveload, Clone)] +#[derive(Component, Debug, Clone)] pub struct WantsToMelee { pub target : Entity }