Merge branch 'OC1.3-MC1.6.4' of github.com:MightyPirates/OpenComputers

This commit is contained in:
Florian Nücke 2014-08-04 23:56:18 +02:00
commit aa0347b01b

View File

@ -78,6 +78,9 @@ sandbox = {
rawset = rawset,
select = select,
setmetatable = function(t, mt)
if type(mt) ~= "table" then
return setmetatable(t, mt)
end
local gc = rawget(mt, "__gc")
if type(gc) == "function" then
-- For all user __gc functions we enforce a much tighter deadline.