mirror of
https://github.com/LDDestroier/CC/
synced 2024-11-08 19:09:58 +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:
parent
578dec4766
commit
ba056343bd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user