StopSound: Add 'Shotgun Shot' only on CSS.
Seems it causes errors on CSGO.
This commit is contained in:
parent
ab5bbd6e95
commit
6a1cb22e6d
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user