summaryrefslogtreecommitdiff
path: root/ecs/examples/with_sole.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ecs/examples/with_sole.rs')
-rw-r--r--ecs/examples/with_sole.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/ecs/examples/with_sole.rs b/ecs/examples/with_sole.rs
index a387bea..6dec271 100644
--- a/ecs/examples/with_sole.rs
+++ b/ecs/examples/with_sole.rs
@@ -53,6 +53,8 @@ fn main()
world.add_sole(AmmoCounter::default()).unwrap();
+ world.prepare();
+
world.emit(EventA);
world.emit(EventB);