From 9c64fdb1252a92b70c09b829839cf4d05647bfe9 Mon Sep 17 00:00:00 2001 From: Vladislav Date: Sat, 24 Jun 2023 19:27:24 +0200 Subject: [PATCH] =?UTF-8?q?=D0=A2=D0=B0=D0=BA,=20=D1=83=20=D0=BD=D0=B0?= =?UTF-8?q?=D1=81=20=D1=82=D0=B0=D0=BC=20=D0=B2=D0=B2=D0=B5=D0=BB=D0=B8=20?= =?UTF-8?q?Lua=205.4,=20=D1=87=D1=82=D0=BE=D0=B1=20=D0=BE=D0=BD=D0=BE=20?= =?UTF-8?q?=D0=BA=D1=80=D0=B8=D0=B2=D0=BE=20=D0=BD=D0=B5=20=D0=B4=D0=B5?= =?UTF-8?q?=D1=82=D0=B5=D0=BA=D1=82=D0=B8=D0=BB=D0=BE=20(=D0=B2=D1=80?= =?UTF-8?q?=D0=BE=D0=B4=D0=B5=20=D0=BE=D0=BF=D1=82=D0=B8=D0=BC=D0=B0=D0=B9?= =?UTF-8?q?=D0=B7=D0=B5=D0=B4=20=D0=BD=D0=B5=20=D0=BB=D0=BE=D0=BC=D0=B0?= =?UTF-8?q?=D0=B5=D1=82=D1=81=D1=8F=20=D0=BD=D0=B0=20=D0=BD=D0=B5=D0=B9)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Libraries/Color.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +}