mirror of https://github.com/LDDestroier/CC/
Update wpath.lua
This commit is contained in:
parent
8efa77adcd
commit
8f0c92f99a
|
@ -13,7 +13,7 @@ local rbow,bbow
|
|||
local sizePath = "size.lua"
|
||||
|
||||
if not peripheral.find("monitor") then
|
||||
return
|
||||
error("A monitor is needed to use WPath.")
|
||||
end
|
||||
|
||||
local reset = function()
|
||||
|
@ -44,7 +44,9 @@ end
|
|||
|
||||
local render = function(shift,mon)
|
||||
local line
|
||||
if not mon.getSize then return end
|
||||
if not mon.getSize then
|
||||
return
|
||||
end
|
||||
local scr_x,scr_y = mon.getSize()
|
||||
scr_y = scr_y + (scr_y % 2)
|
||||
bow = mon.isColor() and rbow or bbow
|
||||
|
@ -58,7 +60,7 @@ local render = function(shift,mon)
|
|||
end
|
||||
end
|
||||
|
||||
local DOITNOW = function(YOUFUCKINGTWAT)
|
||||
local DOITNOW = function(KILLME, KILLMENOW)
|
||||
local shift = 0
|
||||
while true do
|
||||
shift = (shift + 1)
|
||||
|
|
Loading…
Reference in New Issue