StopSound: Forgot moving this too.
Woops.
This commit is contained in:
parent
38599ef679
commit
00922f6f9c
@ -115,9 +115,6 @@ public void OnPluginEnd()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Remove tempent hook
|
|
||||||
RemoveTempEntHook("Shotgun Shot", CSS_Hook_ShotgunShot);
|
|
||||||
|
|
||||||
// Remove ambient sound hook
|
// Remove ambient sound hook
|
||||||
RemoveAmbientSoundHook(Hook_AmbientSound);
|
RemoveAmbientSoundHook(Hook_AmbientSound);
|
||||||
|
|
||||||
@ -134,6 +131,9 @@ public void OnPluginEnd()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
// Remove tempent hook
|
||||||
|
RemoveTempEntHook("Shotgun Shot", CSS_Hook_ShotgunShot);
|
||||||
|
|
||||||
RemoveNormalSoundHook(Hook_NormalSound_CSS);
|
RemoveNormalSoundHook(Hook_NormalSound_CSS);
|
||||||
|
|
||||||
if(ReloadEffect != INVALID_MESSAGE_ID)
|
if(ReloadEffect != INVALID_MESSAGE_ID)
|
||||||
|
Loading…
Reference in New Issue
Block a user