Skip to content

Commit

Permalink
Fixed version cvar not being added to A2S_RULES
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Minekus committed Mar 8, 2016
1 parent a274f6f commit 4fc7c78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addons/sourcemod/scripting/atac.sp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public APLRes AskPluginLoad2(Handle myself, bool late, char[] error, int err_max
public void OnPluginStart()
{
// Create convars
CreateConVar("atac_version", ATAC_VERSION, "Advanced Team Attack Control: Source");
CreateConVar("atac_version", ATAC_VERSION, "Advanced Team Attack Control: Source", FCVAR_NOTIFY);
g_hAttacksLimit = CreateConVar("atac_attacks_limit", "10", "ATAC Attacks Limit");
g_hBansLimit = CreateConVar("atac_bans_limit", "3", "ATAC Bans Limit");
g_hBanTime = CreateConVar("atac_ban_time", "60", "ATAC Ban Time");
Expand Down
2 changes: 1 addition & 1 deletion addons/sourcemod/scripting/include/atac.inc
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#define STEAM_BAN_TYPE 0
#define IP_BAN_TYPE 1

#define ATAC_VERSION "2.5.1"
#define ATAC_VERSION "2.5.2"

enum AtacInfo
{
Expand Down

0 comments on commit 4fc7c78

Please sign in to comment.