fixed hooking the wrong event for ammo refill
authorDavid Anderson <dvander@alliedmods.net>
Mon Jun 25 22:45:43 2007 +0000 (2007-06-25)
changeset 6a0574cbe9e53
parent 5 442e0ad20f70
child 7 1107793f4b1c
fixed hooking the wrong event for ammo refill
scripting/dm_basics.sp
     1.1 --- a/scripting/dm_basics.sp	Mon Jun 25 22:45:23 2007 +0000
     1.2 +++ b/scripting/dm_basics.sp	Mon Jun 25 22:45:43 2007 +0000
     1.3 @@ -75,7 +75,7 @@
     1.4  	if (g_AmmoHooks && g_ActiveWepOffs > 0)
     1.5  	{
     1.6  		HookEvent("weapon_reload", Event_CheckDepleted);
     1.7 -		HookEvent("weapon_fire_on_reload", Event_CheckDepleted);
     1.8 +		HookEvent("weapon_fire_on_empty", Event_CheckDepleted);
     1.9  	}
    1.10  }
    1.11