diff options
Diffstat (limited to 'nomsu_environment.lua')
| -rw-r--r-- | nomsu_environment.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nomsu_environment.lua b/nomsu_environment.lua index 0fdf1cf..e359257 100644 --- a/nomsu_environment.lua +++ b/nomsu_environment.lua @@ -131,7 +131,9 @@ nomsu_environment = Importer({ ipairs = ipairs, jit = jit, _VERSION = _VERSION, - bit = (jit or _VERSION == "Lua 5.2") and require('bitops') or nil, + LUA_VERSION = (jit and jit.version or _VERSION), + LUA_API = _VERSION, + Bit = (jit or _VERSION == "Lua 5.2") and require('bitops') or nil, a_List = List, a_Dict = Dict, Text = Text, |
