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/multiple_queries.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ecs/examples/multiple_queries.rs') diff --git a/ecs/examples/multiple_queries.rs b/ecs/examples/multiple_queries.rs index ab442be..4bc12a3 100644 --- a/ecs/examples/multiple_queries.rs +++ b/ecs/examples/multiple_queries.rs @@ -86,5 +86,7 @@ fn main() world.create_entity((AttackStrength::Strong,)); world.create_entity((AttackStrength::Weak,)); + world.prepare(); + world.emit(Start); } -- cgit v1.2.3-18-g5258