summaryrefslogtreecommitdiff
path: root/source/tests/05-physfs/main.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-03-28 08:56:15 +0800
committerchai <chaifix@163.com>2019-03-28 08:56:15 +0800
commit3bced067a4144381e59ce4bd0eb749eeff5ad1f4 (patch)
tree0352c8ae263dae904967f9e21326ce2a4ca9ada8 /source/tests/05-physfs/main.cpp
parentf6bcacef6e10200b1c0dc34c4aa34313cbfc0392 (diff)
*misc
Diffstat (limited to 'source/tests/05-physfs/main.cpp')
-rw-r--r--source/tests/05-physfs/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/tests/05-physfs/main.cpp b/source/tests/05-physfs/main.cpp
index 454d6cf..28e55e9 100644
--- a/source/tests/05-physfs/main.cpp
+++ b/source/tests/05-physfs/main.cpp
@@ -39,6 +39,7 @@ int main(int argc, char* args[])
AsuraEngine::UtilsModule utils;
lua_State* L = LuaxRuntime::Get().Open();
+ AEScripting::LuaEnv::Get()->Init(L);
LuaxState& state = LuaxRuntime::Get().GetLuaxState(L);
state.OpenLibs();
state.PushGlobalNamespace();