Skip to content

Commit

Permalink
Is it caused by this?
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphaelIT7 committed Apr 5, 2024
1 parent 6a15cd0 commit a6020e5
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 @@ -568,7 +568,7 @@ void RunHook(GarrysMod::Lua::ILuaInterface* LUA, const char* name, ILuaValue* ar
{
std::string err_msg = "hook.Run had an Internal error. Report this please";
err_msg = err_msg + "(" + name + ")";
LUA->ThrowError(err_msg.c_str());
//LUA->ThrowError(err_msg.c_str());
}
SafeDelete(args);
} else {
Expand Down Expand Up @@ -729,7 +729,7 @@ unsigned LuaThread(void* data)
RunHook(IFace, action->data, action->val);
} else if (action->type == LuaAction::ACT_RunHook)
{
//RunHook(IFace, action->data, action->val);
RunHook(IFace, action->data, action->val);
}

delete action;
Expand Down

0 comments on commit a6020e5

Please sign in to comment.