mirror of
https://github.com/LDDestroier/CC/
synced 2024-11-08 19:09:58 +00:00
Update windont.lua
This commit is contained in:
parent
47e160a191
commit
9536565dfe
@ -386,7 +386,7 @@ windont.newWindow = function( x, y, width, height, misc )
|
||||
output.getBackgroundColour = output.getBackgroundColor
|
||||
|
||||
output.setVisible = function(visible)
|
||||
assert(type(visible) == "number", "bad argument #1 (expected boolean, got " .. type(visible) .. ")")
|
||||
assert(type(visible) == "boolean", "bad argument #1 (expected boolean, got " .. type(visible) .. ")")
|
||||
meta.visible = visible and true or false
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user