Fixed ragdoll removal not being entirely disabled.
This commit is contained in:
		| @@ -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. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user