From adc431f5cd4f0d48e1bd68b8222232fcee4bc355 Mon Sep 17 00:00:00 2001 From: Emik Date: Wed, 15 Jul 2026 13:16:41 +0200 Subject: [PATCH] Realign --- manifest.json | 2 +- src/main.lua | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/manifest.json b/manifest.json index 7399b91..705e193 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,7 @@ "id": "Roland", "name": "Roland", "prefix": "Roland", - "version": "2.9.57", + "version": "2.9.58", "badge_colour": "8BE9FD", "display_name": "Roland", "main_file": "src/main.lua", diff --git a/src/main.lua b/src/main.lua index 638026d..e31eb99 100644 --- a/src/main.lua +++ b/src/main.lua @@ -32,10 +32,10 @@ local _ = Balatest and f {"joker", "blind", "spectral"}:each(function(v) assert(SMODS.load_file("src/tests/" .. v .. ".tests.lua"))(qol) end) -local function realign(tbl, align) +local function realign(tbl) f(tbl):where(function(v, k) if k == "align" and type(v) == "string" then - tbl[k] = align + tbl[k] = "tr" end return k ~= "nodes" and type(v) == "table" @@ -50,7 +50,7 @@ local function toggle(id) ref_table = SMODS.Mods.Roland.config, ref_value = id, scale = 1.5, - }, "tr") + }) end SMODS.current_mod.qol = qol