diff --git a/docs/ObserversManual.md b/docs/ObserversManual.md index 42e58bded..b7b8d4f81 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();