diff --git a/src/sPhone.lua b/src/sPhone.lua index 2a23642..b523b20 100644 --- a/src/sPhone.lua +++ b/src/sPhone.lua @@ -520,7 +520,7 @@ end sPhone.inHome = false end 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 os.pullEvent = os.pullEventRaw term.setBackgroundColor(colors.white)