mirror of
https://github.com/airstruck/luigi.git
synced 2026-01-09 15:58:22 +00:00
remove unpack from latest PR
This commit is contained in:
@@ -70,7 +70,7 @@ end
|
|||||||
if _G.love._version_major >= 11 then
|
if _G.love._version_major >= 11 then
|
||||||
Backend.setColor = function(r, g, b, a)
|
Backend.setColor = function(r, g, b, a)
|
||||||
if type(r) == "table" then
|
if type(r) == "table" then
|
||||||
r, g, b, a = unpack(r)
|
r, g, b, a = r[1], r[2], r[3], r[4]
|
||||||
end
|
end
|
||||||
if a == nil then
|
if a == nil then
|
||||||
a = 255
|
a = 255
|
||||||
|
|||||||
Reference in New Issue
Block a user