summaryrefslogtreecommitdiff
path: root/ecs/examples/optional_component.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ecs/examples/optional_component.rs')
-rw-r--r--ecs/examples/optional_component.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/ecs/examples/optional_component.rs b/ecs/examples/optional_component.rs
index e47bf2e..cd0679b 100644
--- a/ecs/examples/optional_component.rs
+++ b/ecs/examples/optional_component.rs
@@ -82,5 +82,7 @@ fn main()
Aggressivity::Low,
));
+ world.prepare();
+
world.emit(PettingTime);
}