1
0
mirror of https://github.com/LDDestroier/CC/ synced 2025-09-01 10:28:01 +00:00

Fixed transparency check function

If it tried to check an area of a window that fell outside its bounds, it would incorrectly return `true`.
This commit is contained in:
LDDestroier
2020-01-12 01:42:47 -05:00
committed by GitHub
parent 578dec4766
commit ba056343bd

View File

@@ -35,7 +35,7 @@ local lval = {
elseif (not buffer[3][y][x] or buffer[3][y][x] == "-") and buffer[1][y][x] == " " then
return false
else
return true
return buffer[1][y][x] and buffer[2][y][x] and buffer[3][y][x]
end
end
end