ZSkills: lets not talk about that

This commit is contained in:
neon 2019-07-29 15:50:37 +02:00
parent f307ca6e5b
commit 6f855a8878

View File

@ -77,7 +77,7 @@ public void OnMapStart()
//---------------------------------------------------------------------------------------------------- //----------------------------------------------------------------------------------------------------
public void ConVarChanged(ConVar convar, const char[] oldValue, const char[] newValue) 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) if (g_bZAmmo_Enabled)
HookEvent("weapon_fire", Event_WeaponFire); HookEvent("weapon_fire", Event_WeaponFire);
else else