Since `dofile` is a global variable, it cannot be securely trusted for imports. Additionally, I learnt recently that local functions can be referenced more clearly in a file by adding them as methods to a local table. https://social.noordstar.me/notes/9sfk6273ao |
||
|---|---|---|
| .. | ||
| engine.lua | ||