Skip to content

Commit

Permalink
It was GetConVar_Internal ...
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphaelIT7 committed Apr 5, 2024
1 parent cec6aba commit 7fc650d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/library_Global.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ LUA_FUNCTION(CreateConVar)
}

ICvar* Icvar;
LUA_FUNCTION(GetConVar)
LUA_FUNCTION(GetConVar_Internal)
{
if (!Icvar)
{
Expand Down Expand Up @@ -364,7 +364,7 @@ void InitGlobal(GarrysMod::Lua::ILuaInterface* LUA)
Add_Func(LUA, AddCSLuaFile, "AddCSLuaFile");
Add_Func(LUA, Global_Msg, "Msg");
Add_Func(LUA, RunConsoleCommand, "RunConsoleCommand");
Add_Func(LUA, GetConVar, "GetConVar");
Add_Func(LUA, GetConVar_Internal, "GetConVar_Internal");
//Add_Func(LUA, CreateConVar, "CreateConVar");

Add_Func(LUA, CurTime, "CurTime");
Expand Down

0 comments on commit 7fc650d

Please sign in to comment.