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"
|
local sizePath = "size.lua"
|
||||||
|
|
||||||
if not peripheral.find("monitor") then
|
if not peripheral.find("monitor") then
|
||||||
return
|
error("A monitor is needed to use WPath.")
|
||||||
end
|
end
|
||||||
|
|
||||||
local reset = function()
|
local reset = function()
|
||||||
|
@ -44,7 +44,9 @@ end
|
||||||
|
|
||||||
local render = function(shift,mon)
|
local render = function(shift,mon)
|
||||||
local line
|
local line
|
||||||
if not mon.getSize then return end
|
if not mon.getSize then
|
||||||
|
return
|
||||||
|
end
|
||||||
local scr_x,scr_y = mon.getSize()
|
local scr_x,scr_y = mon.getSize()
|
||||||
scr_y = scr_y + (scr_y % 2)
|
scr_y = scr_y + (scr_y % 2)
|
||||||
bow = mon.isColor() and rbow or bbow
|
bow = mon.isColor() and rbow or bbow
|
||||||
|
@ -58,7 +60,7 @@ local render = function(shift,mon)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
local DOITNOW = function(YOUFUCKINGTWAT)
|
local DOITNOW = function(KILLME, KILLMENOW)
|
||||||
local shift = 0
|
local shift = 0
|
||||||
while true do
|
while true do
|
||||||
shift = (shift + 1)
|
shift = (shift + 1)
|
||||||
|
|
Loading…
Reference in New Issue