Audio: make deinit explicit
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
4a000c7995
commit
3504dfcab6
2 changed files with 7 additions and 1 deletions
|
|
@ -14,11 +14,11 @@ pub const components = .{
|
|||
|
||||
pub const local_events = .{
|
||||
.init = .{ .handler = init },
|
||||
.deinit = .{ .handler = deinit },
|
||||
.audio_tick = .{ .handler = audioTick },
|
||||
};
|
||||
|
||||
pub const global_events = .{
|
||||
.deinit = .{ .handler = deinit },
|
||||
.audio_state_change = .{ .handler = fn (mach.EntityID) void },
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue