From 00922f6f9c2938bf77f92961597e761e89022883 Mon Sep 17 00:00:00 2001 From: zaCade Date: Wed, 18 Jul 2018 18:02:10 +0200 Subject: [PATCH] StopSound: Forgot moving this too. Woops. --- StopSound/scripting/StopSound.sp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/StopSound/scripting/StopSound.sp b/StopSound/scripting/StopSound.sp index 1dd22715..a58a175c 100644 --- a/StopSound/scripting/StopSound.sp +++ b/StopSound/scripting/StopSound.sp @@ -115,9 +115,6 @@ public void OnPluginEnd() } } - // Remove tempent hook - RemoveTempEntHook("Shotgun Shot", CSS_Hook_ShotgunShot); - // Remove ambient sound hook RemoveAmbientSoundHook(Hook_AmbientSound); @@ -134,6 +131,9 @@ public void OnPluginEnd() } else { + // Remove tempent hook + RemoveTempEntHook("Shotgun Shot", CSS_Hook_ShotgunShot); + RemoveNormalSoundHook(Hook_NormalSound_CSS); if(ReloadEffect != INVALID_MESSAGE_ID)