fix: override dofile to preserve Opus env (require was nil in sub-modules)
CC:Tweaked dofile loads files with _G as environment, but Opus injects require into the program's sandbox _ENV. All dofile'd modules (especially display.lua) could not see require. Also add dropperController to apps.db.
This commit is contained in:
@@ -20,4 +20,9 @@
|
||||
category = "Inventory",
|
||||
run = "inventoryWebBridge.lua",
|
||||
},
|
||||
[ "im_dropper" ] = {
|
||||
title = "Dropper Ctrl",
|
||||
category = "Inventory",
|
||||
run = "dropperController.lua",
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user