From f28f9b2bb0cde6c41826444e3db037627d31e1fe Mon Sep 17 00:00:00 2001 From: Darwin Boersma Date: Fri, 23 Aug 2024 12:07:42 -0600 Subject: [PATCH] Reflect planner component --- crates/bevy_dogoap/src/planner.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/bevy_dogoap/src/planner.rs b/crates/bevy_dogoap/src/planner.rs index e3f8076..9bba471 100644 --- a/crates/bevy_dogoap/src/planner.rs +++ b/crates/bevy_dogoap/src/planner.rs @@ -23,6 +23,7 @@ type DatumComponents = Vec>; /// Our main struct for handling the planning within Bevy, keeping track of added /// [`Action`]s, [`DatumComponent`]s, and some options for controlling the execution #[derive(Component, Reflect)] +#[reflect(Component)] pub struct Planner { /// Our current state used for planning, updated by [`update_planner_local_state`] which reads /// the current state from our Bevy world and updates it accordingly