mirror of
https://github.com/LDDestroier/CC/
synced 2025-01-31 19:29:11 +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.getBackgroundColour = output.getBackgroundColor
|
||||||
|
|
||||||
output.setVisible = function(visible)
|
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
|
meta.visible = visible and true or false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user