source-sdk-2013 icon indicating copy to clipboard operation
source-sdk-2013 copied to clipboard

[HL2MP] Fix a prediction bug when dying while holding a prop

Open speedvoltage opened this issue 9 months ago • 0 comments

Issue: When dying while holding a prop, said prop remains predicted and is not cleared, which causes a mismatch between the server and the client i.e. the prop will be seen by the client in one place and the server will see it in another, which causes the prop to be impossible to pick up again unless both sync up again, either by using the fix below, issuing cl_fullupdate or reconnecting.

Fix: Use Delete(); instead of UTIL_Remove( this );.

speedvoltage avatar Mar 14 '25 21:03 speedvoltage