horrible workaround to be able to use ...

This commit is contained in:
Multi 2016-03-27 12:55:15 +02:00
parent e0d753670c
commit fa58261df0

View file

@ -520,7 +520,7 @@ end
sPhone.inHome = false sPhone.inHome = false
end end
os.pullEvent = os.oldPullEvent os.pullEvent = os.oldPullEvent
local ok, err = pcall(function() setfenv(loadfile(rApp),getfenv())() end) local ok, err = pcall(function(...) setfenv(loadfile(rApp),getfenv())(...) end, ...)
if not ok then if not ok then
os.pullEvent = os.pullEventRaw os.pullEvent = os.pullEventRaw
term.setBackgroundColor(colors.white) term.setBackgroundColor(colors.white)