diff --git a/Libraries/Color.lua b/Libraries/Color.lua index c01384c2..975e7af8 100755 --- a/Libraries/Color.lua +++ b/Libraries/Color.lua @@ -8,7 +8,7 @@ local color = {} -------------------------------------------------------------------------------- -- Optimized Lua 5.3 bitwise support -if computer.getArchitecture and computer.getArchitecture() == "Lua 5.3" then +if computer.getArchitecture and computer.getArchitecture() ~= "Lua 5.2" then integerToRGB, RGBToInteger, blend, transition, to8Bit = load([[ local mathHuge, palette = math.huge, select(1, ...) @@ -239,4 +239,4 @@ return { to8Bit = to8Bit, to24Bit = to24Bit, optimize = optimize, -} \ No newline at end of file +}