fix print search

This commit is contained in:
Redo
2022-11-10 10:55:23 -06:00
parent 2da9148e27
commit d8e794f394
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ local function getBit(gate, val)
local v = gatedata.valReceived
local iscolor = math.floor(v/256)==1 -- first bit
if iscolor then
local printdomain = (math.floor(v/128)%2)==1 and "terminal" or "terminalInv" -- 8th lowest bit
local printdomain = (math.floor(v/128)%2)==1 and "terminalInv" or "terminal" -- 8th lowest bit
local colorid = v % 64 -- last 6 bits
gatedata.printdomain = printdomain
gatedata.colorid = colorid