[PLY-ALL] RagdollData Serial is always 0
Version: 14.1.1
Branch: Release (stable) branch
Timestamp: 2025/07/02 10:03:38
Server Name: any
Description
Currently, in the RagdollData struct, the "Serial" field is initialized as a nullable ushort, but all of the constructors specify default value 0, meaning most of the time, the ragdoll that is spawned after death have the serial 0, instead of a generated serial value.
Steps to reproduce
-
Create a "OnPlayerSpawnedRagdoll" event in an EventHandler
-
Kill a Player ingame (dummy works as well)
-
The ragdoll that is spawned has Serial 0
What is supposed to happen
All ragdolls should generate with a new Serial
What actually happens
Every ragdoll is 0
