From d2f65378c6e810bd8fc28624831e598a698f92f4 Mon Sep 17 00:00:00 2001 From: Alaisdair West <36758853+awest03@users.noreply.github.com> Date: Mon, 9 Sep 2024 06:12:24 +1000 Subject: [PATCH] Should be world.event not .emit (#1344) --- docs/ObserversManual.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ObserversManual.md b/docs/ObserversManual.md index 42e58bdedc..b7b8d4f811 100644 --- a/docs/ObserversManual.md +++ b/docs/ObserversManual.md @@ -1808,7 +1808,7 @@ world.observer() flecs::entity e = world.entity().set(Position{10, 20}); // Emit custom event -world.emit() +world.event() .id() .entity(e) .emit();