it's a mousemap not a keybind

This commit is contained in:
Squibid 2026-01-07 23:05:39 -05:00
parent 22e3553580
commit 1f45f27f74
Signed by: squibid
GPG key ID: BECE5684D3C4005D

View file

@ -40,7 +40,7 @@ pub fn callback(self: *const Mousemap, state: MousemapState, args: anytype) bool
const t = Lua.state.rawGetIndex(zlua.registry_index, lua_ref_idx); const t = Lua.state.rawGetIndex(zlua.registry_index, lua_ref_idx);
if (t != zlua.LuaType.function) { if (t != zlua.LuaType.function) {
RemoteLua.sendNewLogEntry("Failed to call keybind, it doesn't have a callback."); RemoteLua.sendNewLogEntry("Failed to call mousemap, it doesn't have a callback.");
Lua.state.pop(1); Lua.state.pop(1);
return false; return false;
} }