Skip to content

Commit

Permalink
define LuaManager::init
Browse files Browse the repository at this point in the history
  • Loading branch information
CPunch committed Dec 30, 2023
1 parent 450cc78 commit c5de584
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lua/Manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ using namespace LuaManager;

static lua_State *globalState = nullptr;

void init() {
void LuaManager::init() {
lua_State *L = luaL_newstate();
luaL_openlibs(L);

Expand Down

0 comments on commit c5de584

Please sign in to comment.