fixed sum stuff
This commit is contained in:
@@ -1323,7 +1323,18 @@ function lib.getENV(fspath, term_override, perms)
|
||||
global.network = network
|
||||
end
|
||||
if app and perms.app then
|
||||
global.app = app
|
||||
global.app = deepcopy(app)
|
||||
global.app.launch = function(id,app_perms) app.launch(id,app_perms,perms) end
|
||||
end
|
||||
if global and not perms.peripheral then
|
||||
global.peripheral.wrap = function () end
|
||||
global.peripheral.find = function () end
|
||||
global.peripheral.getNames = function () return {} end
|
||||
global.peripheral.getType = function () end
|
||||
global.peripheral.isPresent = function () return false end
|
||||
global.peripheral.hasType = function () end
|
||||
global.peripheral.call = function () end
|
||||
global.peripheral.getMethods = function () end
|
||||
end
|
||||
global.settings = settings
|
||||
global._ENV = global
|
||||
|
||||
Reference in New Issue
Block a user