Fixed ragdoll removal not being entirely disabled.
This commit is contained in:
parent
89abd64bf8
commit
ca50bc9f1b
@ -63,6 +63,13 @@ RagdollOnOffsetsFound()
|
|||||||
*/
|
*/
|
||||||
RagdollOnClientDeath(client)
|
RagdollOnClientDeath(client)
|
||||||
{
|
{
|
||||||
|
// If ragdoll removal is disabled, then stop.
|
||||||
|
new bool:ragdollremove = GetConVarBool(g_hCvarsList[CVAR_VEFFECTS_RAGDOLL_REMOVE]);
|
||||||
|
if (!ragdollremove)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
new ragdoll = RagdollGetClientRagdoll(client);
|
new ragdoll = RagdollGetClientRagdoll(client);
|
||||||
|
|
||||||
// If the ragdoll is invalid, then stop.
|
// If the ragdoll is invalid, then stop.
|
||||||
|
Loading…
Reference in New Issue
Block a user