1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-04-06 10:46:59 +00:00
This commit is contained in:
Daniel Ratcliffe 2017-05-07 17:42:39 +01:00
parent 38e09920fa
commit 008663c0e1

View File

@ -43,7 +43,7 @@ function rgb8( r, g, b )
return
bit32.lshift( bit32.band(r * 255, 0xFF), 16 ) +
bit32.lshift( bit32.band(g * 255, 0xFF), 8 ) +
bit32.band(b * 255 0xFF)
bit32.band(b * 255, 0xFF)
else
error( "Expected 1 or 3 numbers" )
end