diff --git a/src/types/hook.zig b/src/types/hook.zig index 511e84a..e25107b 100644 --- a/src/types/hook.zig +++ b/src/types/hook.zig @@ -38,6 +38,8 @@ pub fn callback(self: *const Hook, args: anytype) void { i = k; } - Lua.state.protectedCall(.{ .args = i }) catch { }; + Lua.state.protectedCall(.{ .args = i }) catch { + // TODO: add a callback to remote lua when that gets merged + }; Lua.state.pop(-1); }