Fix crash

This commit is contained in:
Emik 2026-02-24 15:30:06 +01:00
parent a4144e22ab
commit 978bb9ddd0
Signed by: emik
GPG key ID: 6B0CD72A5E503BDF
2 changed files with 7 additions and 13 deletions

View file

@ -16,19 +16,13 @@ local joker = (function()
return function(tbl)
tbl.pos = inc()
tbl.atlas = "joker"
tbl.artist = tbl.artist and "Roland_" .. tbl.artist or nil
tbl.soul_pos = tbl.soul_pos and inc() or nil
tbl.sinis = tbl.sinis and inc() or nil
SMODS.Joker(tbl)
local joker = SMODS.Joker(tbl)
local _ = tbl.artist and q(function()
Bakery_API.contributors.Roland_char = Bakery_API.contributors.Roland_char or {
name = "char (@irregulester)",
fg = HEX "f8f8f2ff",
bg = HEX "ff79c6ff",
}
tbl.artist = "Roland_" .. tbl.artist
Bakery_API.credit(tbl)
q(function()
Bakery_API.credit(joker)
end)
end
end)()

View file

@ -12,12 +12,12 @@ local spectral = (function()
tbl.set = "Spectral"
tbl.atlas = "spectral"
tbl.pos = {x = x, y = 0}
tbl.artist = tbl.artist and "Roland_" .. tbl.artist or nil
local ret = SMODS.Consumable(tbl)
x = x + 1
local _ = tbl.artist and q(function()
tbl.artist = "Roland_" .. tbl.artist
Bakery_API.credit(tbl)
q(function()
Bakery_API.credit(ret)
end)
return ret