Fix crash
This commit is contained in:
parent
a4144e22ab
commit
978bb9ddd0
2 changed files with 7 additions and 13 deletions
|
|
@ -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)()
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue