Skip to content

Commit

Permalink
??
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphaelIT7 committed Apr 5, 2024
1 parent 26d2143 commit fefe5f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/lua_ILuaInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -570,8 +570,8 @@ void RunHook(GarrysMod::Lua::ILuaInterface* LUA, const char* name, ILuaValue* ar
Msg("2. Top %i\n", LUA->Top());

ThreadSleep(3000);

LUA->CallFunctionProtected(pushed, 0, true);
LUA->Pop(pushed + 1);
//LUA->CallFunctionProtected(pushed, 0, true);

/*if (args->type != GarrysMod::Lua::Type::Table && pushed != args->number) // We use pushed as a safeguard if something somehow breaks stuff.
{
Expand Down

0 comments on commit fefe5f5

Please sign in to comment.