diff options
| author | imShangLi <imshangli@users.noreply.github.com> | 2026-12-02 13:43:13 +0800 |
|---|---|---|
| committer | imShangLi <imshangli@users.noreply.github.com> | 2026-12-02 13:43:13 +0800 |
| commit | 9d962894ce37a3f60976df59a8f7345fefb25f2a (patch) | |
| tree | 952ad592f768ac59ba6b8939279057bf8497ef90 /docs/lua-modding.md | |
| parent | e32da83804c7efe15827f073072b6a19214248b1 (diff) | |
D3D12-LUA-LINKS-STAY-IN-THE-FOLDER: the doc says the rule holds for require too
Diffstat (limited to 'docs/lua-modding.md')
| -rw-r--r-- | docs/lua-modding.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/lua-modding.md b/docs/lua-modding.md index 6dbfc92bb..c6592be53 100644 --- a/docs/lua-modding.md +++ b/docs/lua-modding.md | |||
| @@ -159,7 +159,7 @@ require("helper") -- helper.lua (or helper/init.lua; dots are folders) o | |||
| 159 | 159 | ||
| 160 | Files: only the mod's own folder, plain relative paths (no `..`, drive letters, streams or reserved device names; a | 160 | Files: only the mod's own folder, plain relative paths (no `..`, drive letters, streams or reserved device names; a |
| 161 | link that leads out is refused), reads up to 4 MiB, writes up to 1 MiB, never `mod.json` or a program (`.exe`, `.dll`, | 161 | link that leads out is refused), reads up to 4 MiB, writes up to 1 MiB, never `mod.json` or a program (`.exe`, `.dll`, |
| 162 | `.bat`, ...). There is no `io`. | 162 | `.bat`, ...). There is no `io`. The rule holds for `require` and for the script the manifest names, too. |
| 163 | 163 | ||
| 164 | ## The sandbox | 164 | ## The sandbox |
| 165 | 165 | ||