Skip to content

Commit

Permalink
remove deprecated FCVAR_PLUGIN flags
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphonie committed Aug 15, 2022
1 parent 3fff132 commit 9ad17fe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions addons/sourcemod/scripting/votedelay_changelevel.sp
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,10 @@ public APLRes:AskPluginLoad2(Handle:myself, bool:late, String:error[], err_max)

public OnPluginStart()
{
CreateConVar("votedelay_changelevel_version", VERSION, "Vote Delay: Changelevel version", FCVAR_PLUGIN|FCVAR_NOTIFY|FCVAR_DONTRECORD|FCVAR_SPONLY);
g_Cvar_Enabled = CreateConVar("votedelay_changelevel_enable", "1", "Enable Vote Delay: Changelevel?", FCVAR_PLUGIN|FCVAR_NOTIFY|FCVAR_DONTRECORD, true, 0.0, true, 1.0);
g_Cvar_FullRounds = CreateConVar("votedelay_changelevel_fullrounds", "1", "Full rounds only? Only applies to TF2.", FCVAR_PLUGIN, true, 0.0, true, 1.0);
g_Cvar_Rounds = CreateConVar("votedelay_changelevel_rounds", "4", "During what round should votes become available?", FCVAR_PLUGIN, true, 0.0, true, 10.0);
CreateConVar("votedelay_changelevel_version", VERSION, "Vote Delay: Changelevel version", FCVAR_NOTIFY|FCVAR_DONTRECORD|FCVAR_SPONLY);
g_Cvar_Enabled = CreateConVar("votedelay_changelevel_enable", "1", "Enable Vote Delay: Changelevel?", FCVAR_NOTIFY|FCVAR_DONTRECORD, true, 0.0, true, 1.0);
g_Cvar_FullRounds = CreateConVar("votedelay_changelevel_fullrounds", "1", "Full rounds only? Only applies to TF2.", FCVAR_NONE, true, 0.0, true, 1.0);
g_Cvar_Rounds = CreateConVar("votedelay_changelevel_rounds", "4", "During what round should votes become available?", FCVAR_NONE, true, 0.0, true, 10.0);

g_bUserBuf = (GetUserMessageType() == UM_Protobuf);

Expand Down

0 comments on commit 9ad17fe

Please sign in to comment.