From 4fc7c78a3de11193a455158cc734264c542cf044 Mon Sep 17 00:00:00 2001 From: Erik Minekus Date: Tue, 8 Mar 2016 17:31:35 +0100 Subject: [PATCH] Fixed version cvar not being added to A2S_RULES --- addons/sourcemod/scripting/atac.sp | 2 +- addons/sourcemod/scripting/include/atac.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/sourcemod/scripting/atac.sp b/addons/sourcemod/scripting/atac.sp index 887fe09..078bd85 100644 --- a/addons/sourcemod/scripting/atac.sp +++ b/addons/sourcemod/scripting/atac.sp @@ -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"); diff --git a/addons/sourcemod/scripting/include/atac.inc b/addons/sourcemod/scripting/include/atac.inc index db28b10..bf32060 100644 --- a/addons/sourcemod/scripting/include/atac.inc +++ b/addons/sourcemod/scripting/include/atac.inc @@ -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 {