Skip to content

Commit

Permalink
Added debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphaelIT7 committed Apr 3, 2024
1 parent 8c45758 commit f0a3ad2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion source/lua_threaded.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ GMOD_MODULE_OPEN()
get = ResolveSymbol<IGet>(
engine_loader, IGet_Sym
);


Msg("LuaThreaded Loading 1\n");
GMOD = new GMOD_Info;
if (get)
{
Expand All @@ -39,17 +40,23 @@ GMOD_MODULE_OPEN()
LUA->Pop(2); // Global, BRANCH
}

Msg("LuaThreaded Loading 2\n");
Symbols_Init();

Msg("LuaThreaded Loading 3\n");
InitLuaThreaded((ILuaInterface*)LUA);

Msg("LuaThreaded Loading 4\n");
InitMetaTable((ILuaInterface*)LUA);

Msg("LuaThreaded Loading 5\n");
InitEnums((ILuaInterface*)LUA);

Msg("LuaThreaded Loading 6\n");
filesystem = InterfacePointers::FileSystem();
UpdateEngine(); // Look into it why it breaks my shit.

Msg("LuaThreaded Loading 7\n");
LUA->PushSpecial(SPECIAL_GLOB);
LUA->GetField(-1, "hook");
if (LUA->IsType(-1, Type::Table)) {
Expand Down

0 comments on commit f0a3ad2

Please sign in to comment.