mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[lua] Fix for Color:newWith
This commit is contained in:
parent
5b089cb678
commit
3ab208ed82
@ -45,7 +45,7 @@ end
|
|||||||
|
|
||||||
function Color.newWith (r, g, b, a)
|
function Color.newWith (r, g, b, a)
|
||||||
local self = {
|
local self = {
|
||||||
r = a, g = g, b = b, a = a
|
r = r, g = g, b = b, a = a
|
||||||
}
|
}
|
||||||
setmetatable(self, Color)
|
setmetatable(self, Color)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user