Skip to content

Commit

Permalink
Woops
Browse files Browse the repository at this point in the history
I should remove old debug code.
  • Loading branch information
RaphaelIT7 committed Apr 5, 2024
1 parent 6deb27d commit cc9e236
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions source/lua_ILuaInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -549,8 +549,6 @@ void RunHook(GarrysMod::Lua::ILuaInterface* LUA, const char* name, ILuaValue* ar
LUA->GetField(-1, "Run");
if (LUA->IsType(-1, GarrysMod::Lua::Type::Function))
{
LUA->Pop(1);

LUA->PushString(name);
int pushed = 1;
if (args->type != GarrysMod::Lua::Type::Table)
Expand Down

0 comments on commit cc9e236

Please sign in to comment.