1
0
mirror of https://github.com/LDDestroier/CC/ synced 2025-10-25 20:47:41 +00:00

Update workspace.lua

This commit is contained in:
LDDestroier
2019-06-23 00:02:24 -04:00
committed by GitHub
parent 99bf9cfeb5
commit b622bd88f4

View File

@@ -1048,9 +1048,9 @@ local main = function()
error("bad argument #1 (number expected, got " .. type(evt) .. ")", 2) error("bad argument #1 (number expected, got " .. type(evt) .. ")", 2)
end end
end end
term.native = function() -- term.native = function()
return instances[y][x].window.handle -- return instances[y][x].window.handle
end -- end
end end
-- timer for instance timers and window scrolling -- timer for instance timers and window scrolling
@@ -1247,7 +1247,7 @@ local main = function()
oldFuncReplace.os.time = os.time oldFuncReplace.os.time = os.time
end end
oldFuncReplace.os.queueEvent = os.queueEvent oldFuncReplace.os.queueEvent = os.queueEvent
term.native = oldFuncReplace.term.native -- term.native = oldFuncReplace.term.native
for y = gridMinY, gridHeight do for y = gridMinY, gridHeight do
if instances[y] then if instances[y] then
@@ -1287,7 +1287,7 @@ local main = function()
os.time = oldFuncReplace.os.time os.time = oldFuncReplace.os.time
end end
os.queueEvent = oldFuncReplace.os.queueEvent os.queueEvent = oldFuncReplace.os.queueEvent
term.native = oldFuncReplace.term.termNative -- term.native = oldFuncReplace.term.termNative
end end