From ce395aedb399563b8877b7ad7188f0296aecce86 Mon Sep 17 00:00:00 2001 From: Emik Date: Thu, 18 Jun 2026 19:18:18 +0200 Subject: [PATCH] Remove niche debugging function --- manifest.json | 2 +- src/blind.lua | 1 - src/lib/shared.lua | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/manifest.json b/manifest.json index e88d182..1995ed6 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,7 @@ "id": "Roland", "name": "Roland", "prefix": "Roland", - "version": "2.9.7", + "version": "2.9.8", "badge_colour": "8BE9FD", "display_name": "Roland", "main_file": "src/main.lua", diff --git a/src/blind.lua b/src/blind.lua index 1bdc53e..c1d15e7 100644 --- a/src/blind.lua +++ b/src/blind.lua @@ -337,7 +337,6 @@ end function SMODS.current_mod:calculate(context) local _ = type(G.calccontext) == "function" and G.calccontext(context) - local _ = type(G.calckeys) == "function" and G.calckeys(f(context):keys()) if type(G.calc) == "function" then G.calc = {G.calc} diff --git a/src/lib/shared.lua b/src/lib/shared.lua index eafd0e7..7feeea4 100644 --- a/src/lib/shared.lua +++ b/src/lib/shared.lua @@ -31,7 +31,7 @@ local function protect_ev(fun) end, } else - fun.func = protect(fun.func) + fun.func = protect(fun.func or fun[1]) return getmetatable(fun) == Event and fun or Event(fun) end end