From 6f855a887812a333292bfbb41e5dc7113edb1bfa Mon Sep 17 00:00:00 2001 From: neon <> Date: Mon, 29 Jul 2019 15:50:37 +0200 Subject: [PATCH] ZSkills: lets not talk about that --- ZSkills/scripting/ZSkills.sp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ZSkills/scripting/ZSkills.sp b/ZSkills/scripting/ZSkills.sp index 043d512a..2a854f77 100644 --- a/ZSkills/scripting/ZSkills.sp +++ b/ZSkills/scripting/ZSkills.sp @@ -77,7 +77,7 @@ public void OnMapStart() //---------------------------------------------------------------------------------------------------- public void ConVarChanged(ConVar convar, const char[] oldValue, const char[] newValue) { - g_bZAmmo_Enabled = convar.BoolValue; + g_bZAmmo_Enabled = g_hCVar_ZAmmo_Enabled.BoolValue; if (g_bZAmmo_Enabled) HookEvent("weapon_fire", Event_WeaponFire); else