From 3c13cf569d7d65da1d194f559fca3e43b51b724c Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 29 Jul 2024 13:44:16 +0200 Subject: docs(ecs): make examples work correctly --- ecs/examples/optional_component.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ecs/examples/optional_component.rs') 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); } -- cgit v1.2.3-18-g5258