Realign
This commit is contained in:
parent
179cecd9fa
commit
adc431f5cd
2 changed files with 4 additions and 4 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue