summaryrefslogtreecommitdiff
path: root/ecs/examples/multiple_queries.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2024-07-29 13:44:16 +0200
committerHampusM <hampus@hampusmat.com>2024-07-29 13:44:16 +0200
commit3c13cf569d7d65da1d194f559fca3e43b51b724c (patch)
treef7adc273e088c8620c3bb5b570bbcfb8e9c9a92d /ecs/examples/multiple_queries.rs
parent519a0ce022c8ac8adc137e50d1d8aecbf77b4ca9 (diff)
docs(ecs): make examples work correctly
Diffstat (limited to 'ecs/examples/multiple_queries.rs')
-rw-r--r--ecs/examples/multiple_queries.rs2
1 files changed, 2 insertions, 0 deletions
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);
}