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)