module: sending global event requires sender module awareness
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
9eac721f24
commit
3661cb8721
4 changed files with 39 additions and 31 deletions
|
|
@ -122,6 +122,6 @@ test "example" {
|
|||
|
||||
//-------------------------------------------------------------------------
|
||||
// Send events to modules
|
||||
world.modules.send(.tick, .{});
|
||||
world.mod.renderer.sendGlobal(.tick, .{});
|
||||
try world.dispatch();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue