summaryrefslogtreecommitdiff
path: root/Editor/Scripting/EditorScripting.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Editor/Scripting/EditorScripting.cpp')
-rw-r--r--Editor/Scripting/EditorScripting.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Editor/Scripting/EditorScripting.cpp b/Editor/Scripting/EditorScripting.cpp
index 9cd80cc..ad8ccd6 100644
--- a/Editor/Scripting/EditorScripting.cpp
+++ b/Editor/Scripting/EditorScripting.cpp
@@ -1,6 +1,8 @@
#include "EditorScripting.h"
#include "Runtime/Debug/Log.h"
+extern int luaopen_GameLab(lua_State* L); // GameLab
+
extern int luaopen_GameLab_Debug(lua_State* L); // GameLab.Debug
extern int luaopen_GameLab_IO(lua_State* L); // GameLab.IO
extern int luaopen_GameLab_Path(lua_State* L); // GameLab.Path
@@ -33,6 +35,8 @@ bool SetupGameLabEditorScripting(lua_State* L)
{
log_info("Scripting", "SetupGameLabEditorScripting()");
+ openlib(luaopen_GameLab);
+
openlib(luaopen_GameLab_Debug);
openlib(luaopen_GameLab_Path);
openlib(luaopen_GameLab_IO);