diff --git a/StopSound/scripting/StopSound.sp b/StopSound/scripting/StopSound.sp index 54b2473..1dd2271 100644 --- a/StopSound/scripting/StopSound.sp +++ b/StopSound/scripting/StopSound.sp @@ -48,9 +48,6 @@ public void OnPluginStart() g_MapMusic = new StringMap(); - // Detect game and hook appropriate tempent. - AddTempEntHook("Shotgun Shot", CSS_Hook_ShotgunShot); - // Ambient sounds AddAmbientSoundHook(Hook_AmbientSound); @@ -86,6 +83,9 @@ public void OnPluginStart() } else // CS:S { + // Detect game and hook appropriate tempent. + AddTempEntHook("Shotgun Shot", CSS_Hook_ShotgunShot); + // Weapon sounds will be caught here. AddNormalSoundHook(Hook_NormalSound_CSS);